mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-10-04 16:48:02 +03:00
fixed space
This commit is contained in:
parent
d25c10969d
commit
933cf6f10d
@ -82,7 +82,7 @@ placeholder = "use string interpolation"
|
||||
"I can #{placeholder} when using double quoted strings"
|
||||
#=> "I can use string interpolation when using double quoted strings"
|
||||
|
||||
#Combine strings but not with numbers
|
||||
# Combine strings, but not with numbers
|
||||
"hello " + "world" #=> "hello world"
|
||||
"hello " + 3 #=> TypeError: can't convert Fixnum into String
|
||||
"hello " + 3.to_s #=> "hello 3"
|
||||
|
Loading…
Reference in New Issue
Block a user