given the below, if you were not allowed to modify class X

module N
  def foo
  end
end

module M
  # ...
end

class X
  extend M
end

would it possible for

x = X.new

to somehow call foo as an instance method of x?

-- 
Posted via http://www.ruby-forum.com/.