Created
January 4, 2009 03:08
-
-
Save knowtheory/42993 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
Lucem:code ted$ thor -T | |
cnf | |
--- | |
cnf:hello Say Hello | |
Lucem:code ted$ thor hello | |
The thor:runner namespace doesn't have a `hello' task | |
Lucem:code ted$ thor cnf:hello | |
There was no available namespace `cnf'. | |
Lucem:code ted$ thor cnf:hello | |
There was no available namespace `cnf'. | |
Lucem:code ted$ thor CNF:hello | |
Hello |
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
class CNF < Thor | |
desc "hello", "Say Hello" | |
def hello | |
puts "Hello" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment