Created
March 27, 2012 19:59
-
-
Save floere/2219741 to your computer and use it in GitHub Desktop.
The END block in Ruby.
This file contains hidden or 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
| END { p "This is the end, my only friend, the end." } | |
| p "Feeling very sleepy..." | |
| sleep 1 |
This file contains hidden or 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
| load File.expand_path("../ends.rb", __FILE__) | |
| load File.expand_path("../ends.rb", __FILE__) | |
| load File.expand_path("../ends.rb", __FILE__) | |
| load File.expand_path("../ends.rb", __FILE__) |
This file contains hidden or 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
| require File.expand_path("../ends.rb", __FILE__) | |
| require File.expand_path("../ends.rb", __FILE__) | |
| require File.expand_path("../ends.rb", __FILE__) | |
| require File.expand_path("../ends.rb", __FILE__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment