Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Commander
- def initialize
- instance_eval(&block)
- end
- def welcome; end
- def launch; end
- def goodbye; end
- end
- Commander.new do
- welcome
- launch
- goodbye
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement