diff --git a/doc/syntax/methods.rdoc b/doc/syntax/methods.rdoc index eff38c3410..7d334d5a16 100644 --- a/doc/syntax/methods.rdoc +++ b/doc/syntax/methods.rdoc @@ -155,7 +155,7 @@ Instead, the argument will be returned: end p(a = 5) # prints 5 - + The actual return value will be returned when invoking the method directly: p send(:a=, 5) # prints 6