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

5 commits

Author SHA1 Message Date
drbrain
596ed9c781 * doc/syntax/assignment.rdoc (Implicit Array Assignment): Clarify
that "left-hand side" means "of the assignment".  Suggested by Jorge
  Dias.
* doc/syntax/assignment.rdoc (Multiple Assignment):  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:41:37 +00:00
drbrain
2784129653 * doc/syntax/assignment.rdoc (Local Variables and Methods): Fixed
example showing caching of a method's results into a local variable.
  Added not about using an explicit receiver to call a method that
  matches a local variable.  Suggested by markov_twain on twitter.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:35:16 +00:00
drbrain
1ecaf599ff * doc/syntax/assignment.rdoc (Local Variables and Methods): Made it
more clear that local variables are created by the parser, not
	  execution.  Thanks to John Hawthorn.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:27:45 +00:00
drbrain
6ff1653cf6 * doc/syntax/assignment.rdoc: Improved links
* doc/syntax/methods.rdoc:  ditto.

	* doc/syntax.rdoc:  Added link to assignment document


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:16:08 +00:00
drbrain
d9d981b940 * doc/syntax/assignment.rdoc: Added a syntax document on assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 23:47:51 +00:00