J
Joel VanderWerf
Ara.T.Howard said:i don't think it would be a problem for symbols either since you could
never
really need to do
obj.send 'hi there'.intern
since you could never define
def hi there
42
end
Wellll...
irb(main):001:0> class A
irb(main):002:1> define_method "hi there" do puts "Hi, there!"; end
irb(main):003:1> end
=> #<Proc:0x40208870@(irb):2>
irb(main):004:0> A.new.send "hi there"
Hi, there!