ruby-changes:26790
From: drbrain <ko1@a...>
Date: Wed, 16 Jan 2013 03:15:22 +0900 (JST)
Subject: [ruby-changes:26790] drbrain:r38842 (trunk): * doc/syntax/methods.rdoc: Fixed link
drbrain 2013-01-16 03:15:12 +0900 (Wed, 16 Jan 2013) New Revision: 38842 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38842 Log: * 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 Modified files: trunk/ChangeLog trunk/doc/syntax/methods.rdoc trunk/doc/syntax/modules_and_classes.rdoc trunk/doc/syntax.rdoc Index: doc/syntax/methods.rdoc =================================================================== --- doc/syntax/methods.rdoc (revision 38841) +++ doc/syntax/methods.rdoc (revision 38842) @@ -346,5 +346,5 @@ May be written as: https://github.com/ruby/ruby/blob/trunk/doc/syntax/methods.rdoc#L346 If you wish to rescue an exception for only part of your method use +begin+ and +end+. For more details see the page on {Exception -Handling}[rdoc-ref:doc/syntax/exceptions.rdoc]. +Handling}[rdoc-ref:syntax/exceptions.rdoc]. Index: doc/syntax/modules_and_classes.rdoc =================================================================== --- doc/syntax/modules_and_classes.rdoc (revision 38841) +++ doc/syntax/modules_and_classes.rdoc (revision 38842) @@ -121,7 +121,7 @@ If a constant is defined at the top-leve https://github.com/ruby/ruby/blob/trunk/doc/syntax/modules_and_classes.rdoc#L121 === Methods For method definition documentation see the {syntax documentation for -methods}[rdoc-ref:doc/syntax/methods.rdoc]. +methods}[rdoc-ref:syntax/methods.rdoc]. Class methods may be called directly. (This is slightly confusing, but a method on a module is often called a "class method" instead of a "module Index: doc/syntax.rdoc =================================================================== --- doc/syntax.rdoc (revision 38841) +++ doc/syntax.rdoc (revision 38842) @@ -2,12 +2,24 @@ https://github.com/ruby/ruby/blob/trunk/doc/syntax.rdoc#L2 The Ruby syntax is large and is split up into the following sections: -Literals[rdoc-ref:doc/syntax/literals.rdoc] :: +Literals[rdoc-ref:syntax/literals.rdoc] :: Numbers, Strings, Arrays, Hashes, etc. -Methods[rdoc-ref:doc/syntax/methods.rdoc] :: +{Control Expressions}[rdoc-ref:syntax/control_expressions.rdoc] :: + +if+, +unless+, +while+, +until+, +for+, +break+, +next+, +redo+ + +Methods[rdoc-ref:syntax/methods.rdoc] :: Method and method argument syntax -Exceptions[rdoc-ref:doc/syntax/exceptions.rdoc] :: +{Calling Methods}[rdoc-ref:syntax/calling_methods.rdoc] :: + How to call a method (or send a message to a method) + +{Modules and Classes}[rdoc-ref:syntax/modules_and_classes.rdoc] :: + Creating modules and classes including inheritance + +Exceptions[rdoc-ref:syntax/exceptions.rdoc] :: Exception handling syntax +Precedence[rdoc-ref:syntax/precedence.rdoc] :: + Precedence of ruby operators + Index: ChangeLog =================================================================== --- ChangeLog (revision 38841) +++ ChangeLog (revision 38842) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jan 16 03:15:00 2013 Eric Hodel <drbrain@s...> + + * 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 + Wed Jan 16 03:05:50 2013 Eric Hodel <drbrain@s...> * doc/syntax/control_expressions.rdoc (redo Statement): Added note -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/