summaryrefslogtreecommitdiff
path: root/doc/syntax
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-16 22:00:02 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-16 22:00:02 +0000
commit9ceb50972fb43acd0f714243fda3761dc2f6ab6e (patch)
tree55c56f487a445a5736c661752c277c0ab084fe19 /doc/syntax
parent93b115346fbdef42aeebe35ef7e9243e4c29eaec (diff)
* 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
Diffstat (limited to 'doc/syntax')
-rw-r--r--doc/syntax/control_expressions.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/control_expressions.rdoc b/doc/syntax/control_expressions.rdoc
index b25f693..18dd40b 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 <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.
Once a condition matches, either the +if+ condition or any +elsif+ condition,