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
経由でファイルを呼び出すとき
thor b12:write --methods=foo
私は得る
"write" was called incorrectly. Call as "thor b12:write".
問題はどこにありますか?