Fixes output on combining strings and operators

This commit is contained in:
Persa 2015-10-17 12:16:14 -04:00
parent 1ae02fc6cf
commit a875e6d589

View File

@ -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"