aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* * doc/syntax/calling_methods.rdoc: Added a Method Lookup section.drbrain2013-01-242-1/+26
| | | | | | | | * doc/syntax/refinements.rdoc (Method Lookup): Clarified that refinement methods are looked up in classes, not instances. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/refinements.rdoc: Added refinements document based ondrbrain2013-01-242-0/+243
| | | | | | | | the specification from the wiki. * doc/syntax.rdoc: Added link to refinements document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/assignment.rdoc (Implicit Array Assignment): Clarifydrbrain2013-01-231-4/+5
| | | | | | | | | 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
* * doc/syntax/assignment.rdoc (Local Variables and Methods): Fixeddrbrain2013-01-231-1/+5
| | | | | | | | | 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
* * doc/syntax/miscellaneous.rdoc: Added section on defined?drbrain2013-01-191-0/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/assignment.rdoc (Local Variables and Methods): Made itdrbrain2013-01-191-1/+11
| | | | | | | | 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
* * doc/syntax/assignment.rdoc: Improved linksdrbrain2013-01-193-5/+9
| | | | | | | | | * 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
* * doc/syntax/assignment.rdoc: Added a syntax document on assignment.drbrain2013-01-181-0/+439
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: Added Array Decomposition.drbrain2013-01-181-0/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/miscellaneous.rdoc: Added Ending an Expression anddrbrain2013-01-171-0/+16
| | | | | | | indentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc: Added ? : ternary ifdrbrain2013-01-171-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/miscellaneous.rdoc: Added documentation for alias, undef,drbrain2013-01-163-2/+73
| | | | | | | | | | | | BEGIN, END. * doc/syntax/modules_and_classes.rdoc (Constants): Fixed unwrapped paragraph with trailing whitespace. * doc/syntax/modules_and_classes.rdoc (Scope): Added section pointing to alias and undef documentation. * doc/syntax.rdoc: Added link to miscellaneous section. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc (Flip-Flop): Added a section ondrbrain2013-01-161-0/+59
| | | | | | | the flip-flop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc (if Expressions): Fixed markupdrbrain2013-01-161-1/+1
| | | | | | | error. Fixes #235 on github by FlyingFoX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/literals.rdoc (Strings): Fixed typo. Fixes #236 ondrbrain2013-01-161-1/+1
| | | | | | | github by Doug Yun. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc: Omit optional "then" for if anddrbrain2013-01-151-22/+38
| | | | | | | | unless expressions. Improved description of "a if a = 0.zero?" NameError. Note that "do" for for loop is optional. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc: Link to defining methods.drbrain2013-01-152-1/+7
| | | | | | | * 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
* * doc/syntax/methods.rdoc: Fixed linkdrbrain2013-01-153-5/+17
| | | | | | | | * 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
* * doc/syntax/control_expressions.rdoc (redo Statement): Added notedrbrain2013-01-152-0/+22
| | | | | | | | about retry. * doc/syntax/exceptions.rdoc: Added retry statement git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/control_expressions.rdoc: Added description of controldrbrain2013-01-151-0/+399
| | | | | | | expressions in ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc (Method Names): Added method names includingdrbrain2013-01-152-1/+142
| | | | | | | | | | 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
* * doc/syntax/methods.rdoc (Block Argument): Added section on blockdrbrain2013-01-151-0/+32
| | | | | | | argument. Thanks to Andy Lindeman. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc (Arguments): Added improveddrbrain2013-01-151-13/+183
| | | | | | | | | | | | | | | | introduction to arguments including passing style and lazy evaluation. Thanks to Matt Aimonetti. * doc/syntax/calling_methods.rdoc (Positional Arguments): Added description for sending a message to a method with *arguments * doc/syntax/calling_methods.rdoc (Default Positional Arguments): Added description. Thanks to Andy Lindeman. * doc/syntax/calling_methods.rdoc (Block Local Arguments): Added description of block locals. Thanks to Justin Collins. * doc/syntax/calling_methods.rdoc (Hash to Keyword Arguments): Added section describing ** operator. Thanks to Justin Collins. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/calling_methods.rdoc (Receiver): Added :: as pointed outdrbrain2013-01-151-2/+5
| | | | | | | | | by Tony Arcieri * doc/syntax/calling_methods.rdoc (Block Argument): Fixed { } block examples as pointed out by David Copeland. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc (Array/Hash Argument): Moved above Keyworddrbrain2013-01-151-17/+31
| | | | | | | | | 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
* * doc/syntax/calling_methods.rdoc: Added document describing methoddrbrain2013-01-141-0/+148
| | | | | | | calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Fixed typo.drbrain2013-01-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Added singleton classesdrbrain2013-01-051-0/+45
| | | | | | | documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Improved description of methodsdrbrain2013-01-051-2/+7
| | | | | | | on a module or class as suggested by Tobias Buhlmann git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/modules_and_classes.rdoc: Added documentation of syntaxdrbrain2013-01-052-30/+290
| | | | | | | | | 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
* * doc/syntax/methods.rdoc: Added return values and scope sections,drbrain2013-01-041-13/+113
| | | | | | | | 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
* * lib/rake/*: Updated to rake 0.9.6drbrain2012-12-2114-74/+885
| | | | | | | | * doc/rake/*: ditto * test/rake/*: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: rdoc fix, patch by Dave Brownmarcandre2012-12-191-2/+2
| | | | | | [github:222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/literals.rdoc: Added 0d decimal format. Thanks Nobu!drbrain2012-12-191-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.drbrain2012-12-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: Add () around keyword arguments example fordrbrain2012-12-191-1/+1
| | | | | | | consistency. Thanks to Josh Susser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/literals.rdoc: Used simplified heredoc example thatdrbrain2012-12-181-4/+8
| | | | | | | doesn't include method definition. Added heredoc with backticks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/literals.rdoc: Added 0o octal integers.drbrain2012-12-181-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax/methods.rdoc: Added a description of singleton methods.drbrain2012-12-171-0/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/.document: Added doc/syntaxdrbrain2012-12-171-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/syntax.rdoc: Added syntax guide table of contentsdrbrain2012-12-174-0/+505
| | | | | | | | | * 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
* commit typo: remove file from r38358zzak2012-12-131-391/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Added --pages-dir to rdoc creation. Now doc/ items showdrbrain2012-12-111-0/+3
| | | | | | | | | up at top-level. * .document: Moved doc/* entries to doc/.document * doc/.document: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove file from r38201zzak2012-12-071-347/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/etc.rd: Removed stale documentation filezzak2012-12-071-75/+0
| | | | | | | | * ext/etc/etc.c: Merged documentation from doc/etc.rd and updated rdoc, added documentation for Etc::Passwd and Etc::Group git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/forwardable.rd: Remove stale documentation filezzak2012-12-071-83/+0
| | | | | | | * lib/forwardable.rb: Merge documentation from doc/forwardable.rd git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: Add NEWS for `ri ruby:NEWS`drbrain2012-12-034-6/+12
| | | | | | | | | | | * NEWS: Set format as rdoc * doc/NEWS-1.8.7: ditto * doc/NEWS-1.9.1: ditto * doc/NEWS-1.9.2: ditto * doc/NEWS-1.9.3: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/globals.rdoc: Add documentation file for magic globalszzak2012-11-271-0/+61
| | | | | | | [ruby-core:29048] [Bug #3022] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/re.rdoc: Fix spellingdrbrain2012-07-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/re.rdoc: Completed wording in the description of the =~ operator.drbrain2012-06-081-3/+7
| | | | | | | [ruby-trunk - Bug #6529] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e