Created
November 25, 2011 10:09
-
-
Save reactormonk/1393192 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
class B12 < Thor | |
desc "write", "write data into the index" | |
method_option :methods, :desc => "The methods to call on each RawData", :type => :array | |
def write(methods) | |
end | |
end | |
# call: thor b12:write --methods=foo | |
# result: "write" was called incorrectly. Call as "thor b12:write". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment