file for ex10
This commit is contained in:
parent
0a3aa9c5ec
commit
11721355e0
15
ex10.rb
Normal file
15
ex10.rb
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
tabby_cat = "\tI'm tabbed in."
|
||||||
|
persian_cat = "I'm split\non a line."
|
||||||
|
backslash_cat = "I'm \\ a \\ cat."
|
||||||
|
|
||||||
|
fat_cat = <<MY_HEREDOC
|
||||||
|
I'll do a list:
|
||||||
|
\t* Cat food
|
||||||
|
\t* Fishies
|
||||||
|
\t* Catnip\n\t* Grass
|
||||||
|
MY_HEREDOC
|
||||||
|
|
||||||
|
puts tabby_cat
|
||||||
|
puts persian_cat
|
||||||
|
puts backslash_cat
|
||||||
|
puts fat_cat
|
Loading…
Reference in New Issue
Block a user