Created
February 24, 2012 12:25
-
-
Save MSch/1900640 to your computer and use it in GitHub Desktop.
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
| class App < Thor | |
| def help | |
| puts 'blabla' | |
| end | |
| end | |
| Dir.glob('commands/*.rb').each { |f| require f } |
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
| module ROF::Commands | |
| class PushCommand | |
| def execute | |
| end | |
| end | |
| end | |
| class App | |
| def push | |
| ROF::Commands::PushCommand.new.execute | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment