[rspec-users] specs on private methods
Francois Wurmus
francois.wurmus at infopark.de
Tue Jan 8 15:56:40 EST 2008
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?
>
>
More information about the rspec-users
mailing list