summaryrefslogtreecommitdiffhomepage
path: root/ruby.html.markdown
diff options
context:
space:
mode:
authorPersa <persa@persazula.com>2015-10-17 12:16:14 -0400
committerPersa <persa@persazula.com>2015-10-17 12:16:14 -0400
commita875e6d589b7e6e8a396417adc001bc0f88e82fd (patch)
tree30ae2224c58a27b955cfb8a4ed5cb90665190a4a /ruby.html.markdown
parent1ae02fc6cf7642911125e088ec5e7ce15552b95d (diff)
Fixes output on combining strings and operators
Diffstat (limited to 'ruby.html.markdown')
-rw-r--r--ruby.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.html.markdown b/ruby.html.markdown
index f4de8038..4e9f8aee 100644
--- a/ruby.html.markdown
+++ b/ruby.html.markdown
@@ -109,7 +109,7 @@ placeholder = 'use string interpolation'
'hello ' + 3.to_s #=> "hello 3"
# Combine strings and operators
-'hello ' * 3 #=> "hello hello hello"
+'hello ' * 3 #=> "hello hello hello "
# Append to string
'hello' << ' world' #=> "hello world"