summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"