From 9ceb50972fb43acd0f714243fda3761dc2f6ab6e Mon Sep 17 00:00:00 2001 From: drbrain Date: Wed, 16 Jan 2013 22:00:02 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ doc/syntax/control_expressions.rdoc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8dd72ad3d5..4068d7ab65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 17 06:59:51 2013 Eric Hodel + + * 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 * doc/syntax/literals.rdoc (Strings): Fixed typo. Fixes #236 on diff --git a/doc/syntax/control_expressions.rdoc b/doc/syntax/control_expressions.rdoc index b25f6936eb..18dd40b676 100644 --- a/doc/syntax/control_expressions.rdoc +++ b/doc/syntax/control_expressions.rdoc @@ -54,7 +54,7 @@ You may add an arbitrary number of extra tests to an if expression using puts "a is some other value" end -This will print "a is one" as 1 is not equal to 0. +This will print "a is one" as 1 is not equal to 0. Since +else+ is only executed when there are no matching conditions. Once a condition matches, either the +if+ condition or any +elsif+ condition,