Created
March 28, 2010 12:31
-
-
Save maiha/346737 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
| # current | |
| class App < Thor | |
| desc "install APP_NAME", "Install one of ..." | |
| def install(name) | |
| ... | |
| # The first arg of desc is too redundant | |
| # Because it can automatically be reflected in src like merb_args. | |
| # Then we can get following code. Cool! | |
| class App < Thor | |
| desc "Install one of ..." | |
| def install(name) | |
| ... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment