obj.send(:method) will work for non-private methods and send! works for 
private methods.

additionally there is send() without a receiving object. that is the 
only of those methods requiring two parameters.



Chris Olsen schrieb:
> Will obj.send(:method) work in 1.9 or is it saying that the send call 
> requires 2 params, the method and the object reference?
> 
> 
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to