1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* doc/syntax/calling_methods.rdoc: Link to defining methods.

* doc/syntax/methods.rdoc:  Link to calling methods, fixed typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-01-15 18:29:05 +00:00
parent 8113321482
commit 4cf9fa309d
3 changed files with 12 additions and 1 deletions

View file

@ -13,6 +13,9 @@ Note that the parenthesis are optional:
Except when there is difference between using and omitting parentheses, this
document uses parenthesis when arguments are present to avoid confusion.
This section only covers calling methods. See also the {syntax documentation
on defining methods}[rdoc-ref:syntax/methods.rdoc].
== Receiver
+self+ is the default receiver. If you don't specify any receiver +self+ will