summaryrefslogtreecommitdiff
path: root/doc/syntax.rdoc
AgeCommit message (Collapse)Author
2020-02-24Add pattern matching documentationzverok
Add separate doc/syntax/pattern_matching.rdoc, add link to control_expressions.rdoc. The documentation is "reverse-engineered" from Ruby 2.7 behavior and early preview presentations, and corrected by pattern-matching feature author @k-tsj. Notes: Merged: https://github.com/ruby/ruby/pull/2786
2019-12-29syntax.rdoc: remove "experimental" from refinements (#2796)Vladimir Dementyev
2019-10-26Documentation improvements for Ruby corezverok
* Top-level `return`; * Documentation for comments syntax; * `rescue` inside blocks; * Enhance `Object#to_enum` docs; * Make `chomp:` option more obvious for `String#each_line` and `#lines`; * Enhance `Proc#>>` and `#<<` docs; * Enhance `Processs` class docs. Notes: Merged: https://github.com/ruby/ruby/pull/2612
2013-01-24* doc/syntax/refinements.rdoc: Added refinements document based ondrbrain
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
2013-01-19 * doc/syntax/assignment.rdoc: Improved linksdrbrain
* 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-16* doc/syntax/miscellaneous.rdoc: Added documentation for alias, undef,drbrain
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
2013-01-15* doc/syntax/methods.rdoc: Fixed linkdrbrain
* 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
2012-12-17* doc/syntax.rdoc: Added syntax guide table of contentsdrbrain
* 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