nobu
1a65cef0f0
doc: remove trailing spaces
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 00:13:32 +00:00
zzak
f13f9f6946
* doc/syntax/methods.rdoc: [DOC] [] and []= methods by @process
...
[Fixes GH-662] https://github.com/ruby/ruby/pull/662
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-22 10:50:52 +00:00
zzak
31fa4d8899
* doc/syntax/methods.rdoc: [DOC] Fix example for block arguments [ci skip]
...
By @idupree [Fixes GH-554] https://github.com/ruby/ruby/pull/554
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-06 06:08:40 +00:00
zzak
573762a7b7
* doc/syntax/methods.rdoc: [DOC] Added example for underscore
...
conventions in method names. Also added doc to clarify encoding
character set support for Ruby programs and elaborated on defining
predicate and bang methods. Based on a patch by @gaurish
[Fixes GH-477] https://github.com/ruby/ruby/pull/477
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 20:13:09 +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
1d5a5c235f
* doc/syntax/methods.rdoc: Added Array Decomposition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 05:15:44 +00:00
drbrain
4cf9fa309d
* 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
2013-01-15 18:29:05 +00:00
drbrain
8113321482
* doc/syntax/methods.rdoc: Fixed link
...
* doc/syntax/modules_and_classes.rdoc: Fixed link
* doc/syntax.rdoc: Updated with links to the recently added pages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:15:12 +00:00
drbrain
68b072bfba
* doc/syntax/methods.rdoc (Method Names): Added method names including
...
operator methods.
* doc/syntax/methods.rdoc (Return Values): Added note that assignment
methods ignore return values.
* doc/syntax/precedence.rdoc: Added document describing precedence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 04:33:28 +00:00
drbrain
108f3acbe4
* doc/syntax/methods.rdoc (Block Argument): Added section on block
...
argument. Thanks to Andy Lindeman.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 02:49:54 +00:00
drbrain
eeee190882
* doc/syntax/methods.rdoc (Array/Hash Argument): Moved above Keyword
...
Arguments
* doc/syntax/methods.rdoc (Keyword Arguments): Described ** for
gathering arbitrary keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:11:46 +00:00
drbrain
a13aee62d2
* doc/syntax/modules_and_classes.rdoc: Added documentation of syntax
...
for Modules and Classes.
* doc/syntax/methods.rdoc: Moved some text to the Modules and
Classes syntax document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 01:23:49 +00:00
drbrain
1da85070b0
* doc/syntax/methods.rdoc: Added return values and scope sections,
...
slightly modified from the original patch. Fixes #227 from github by
Dave Brown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04 23:39:48 +00:00
marcandre
542a12d673
* doc/syntax/methods.rdoc: rdoc fix, patch by Dave Brown
...
[github:222]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 09:05:44 +00:00
drbrain
d8cda04488
* doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 07:19:59 +00:00
drbrain
2c0d2db5cb
* doc/syntax/methods.rdoc: Add () around keyword arguments example for
...
consistency. Thanks to Josh Susser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 06:24:02 +00:00
drbrain
73b244d0de
* doc/syntax/methods.rdoc: Added a description of singleton methods.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 03:05:45 +00:00
drbrain
29fd593475
* doc/syntax.rdoc: Added syntax guide table of contents
...
* doc/syntax/exceptions.rdoc: Syntax guide for exceptions
* doc/syntax/literals.rdoc: Syntax guide for literals
* doc/syntax/methods.rdoc: Syntax guide for methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 02:26:15 +00:00