Skip to content

Instantly share code, notes, and snippets.

@reactormonk
Created November 25, 2011 10:09
Show Gist options
  • Save reactormonk/1393192 to your computer and use it in GitHub Desktop.
Save reactormonk/1393192 to your computer and use it in GitHub Desktop.
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