Created
September 22, 2016 21:09
-
-
Save anonymous/1d107fc96e0c8a83ac1d02c5e256a696 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
when command | |
case '-h', '--help', command.nil? | |
show_help | |
case '-i', '--interactive' | |
show_menu | |
else | |
delegate(command) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment