mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* doc/syntax/methods.rdoc: add some missing spaces and
fix a grammatical error in method docs. [fix GH-843][ci skip] Patch by @nikolas git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
49117ae29a
commit
c5e9d76221
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Wed Mar 4 10:15:37 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||||
|
|
||||||
|
* doc/syntax/methods.rdoc: add some missing spaces and
|
||||||
|
fix a grammatical error in method docs.
|
||||||
|
[fix GH-843][ci skip] Patch by @nikolas
|
||||||
|
|
||||||
Wed Mar 4 02:13:06 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
Wed Mar 4 02:13:06 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* tool/redmine-backporter.rb (backport_command_string): pick up only
|
* tool/redmine-backporter.rb (backport_command_string): pick up only
|
||||||
|
|
|
@ -54,9 +54,9 @@ dangerous method implies that when a method ends with a bang(<code>!</code>),
|
||||||
it indicates that unlike its non-bang equivalent, permanently modifies its
|
it indicates that unlike its non-bang equivalent, permanently modifies its
|
||||||
receiver. Almost always, Ruby core library will have a non-bang
|
receiver. Almost always, Ruby core library will have a non-bang
|
||||||
counterpart (method name which does NOT end with <code>!</code>) of every bang
|
counterpart (method name which does NOT end with <code>!</code>) of every bang
|
||||||
method (method name which does end with <code>!</code>) that has does not
|
method (method name which does end with <code>!</code>) that does not modify
|
||||||
modify the receiver. This convention is typically true for ruby core libary but
|
the receiver. This convention is typically true for ruby core libary but
|
||||||
may/may not hold true for other ruby libraries.
|
may or may not hold true for other ruby libraries.
|
||||||
|
|
||||||
Methods that end with a question mark by convention return boolean. But they
|
Methods that end with a question mark by convention return boolean. But they
|
||||||
may not always return just +true+ or +false+. Often they will may return an
|
may not always return just +true+ or +false+. Often they will may return an
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue