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
When I call the file via
thor b12:write --methods=foo
I get
"write" was called incorrectly. Call as "thor b12:write".
Where's the problem?