Created
September 6, 2011 02:43
-
-
Save banister/1196442 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pry(main)> def hello(friends) | |
pry(main)* puts "my friends i have come here to say hello" | |
pry(main)* puts "hello is an unusual word, but is appropriate at a time like this" | |
pry(main)* puts "when it has been so long since we last met" | |
pry(main)* puts "before the dogs were put to sleep" | |
pry(main)* s/hello/goodbye | |
1: def goodbye(friends) | |
2: puts "my friends i have come here to say goodbye" | |
3: puts "goodbye is an unusual word, but is appropriate at a time like this" | |
4: puts "when it has been so long since we last met" | |
5: puts "before the dogs were put to sleep" | |
pry(main)* s/dogs/cats | |
1: def goodbye(friends) | |
2: puts "my friends i have come here to say goodbye" | |
3: puts "goodbye is an unusual word, but is appropriate at a time like this" | |
4: puts "when it has been so long since we last met" | |
5: puts "before the cats were put to sleep" | |
pry(main)* end | |
=> nil |
Author
banister
commented
Sep 6, 2011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment