diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/syntax/calling_methods.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/calling_methods.rdoc b/doc/syntax/calling_methods.rdoc index f1ebf186f7..ec86ef05ee 100644 --- a/doc/syntax/calling_methods.rdoc +++ b/doc/syntax/calling_methods.rdoc @@ -27,7 +27,7 @@ This sends the +my_method+ message to +my_object+. Any object can be a receiver but depending on the method's visibility sending a message may raise a NoMethodError. -You may use <code>.?</code> to designate a receiver, then +my_method+ is not +You may use <code>&.</code> to designate a receiver, then +my_method+ is not invoked and the result is +nil+ when the receiver is +nil+. In that case, the arguments of +my_method+ are not evaluated. |