1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* doc/syntax/control_expressions.rdoc (if Expressions): Fixed markup

error.  Fixes #235 on github by FlyingFoX.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-01-16 22:00:02 +00:00
parent 93b115346f
commit 9ceb50972f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Thu Jan 17 06:59:51 2013 Eric Hodel <drbrain@segment7.net>
* doc/syntax/control_expressions.rdoc (if Expressions): Fixed markup
error. Fixes #235 on github by FlyingFoX.
Thu Jan 17 06:53:58 2013 Eric Hodel <drbrain@segment7.net> Thu Jan 17 06:53:58 2013 Eric Hodel <drbrain@segment7.net>
* doc/syntax/literals.rdoc (Strings): Fixed typo. Fixes #236 on * doc/syntax/literals.rdoc (Strings): Fixed typo. Fixes #236 on

View file

@ -54,7 +54,7 @@ You may add an arbitrary number of extra tests to an if expression using
puts "a is some other value" puts "a is some other value"
end end
This will print "a is one" as <code>1<code> is not equal to <code>0</code>. This will print "a is one" as <code>1</code> is not equal to <code>0</code>.
Since +else+ is only executed when there are no matching conditions. Since +else+ is only executed when there are no matching conditions.
Once a condition matches, either the +if+ condition or any +elsif+ condition, Once a condition matches, either the +if+ condition or any +elsif+ condition,