0
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".
在哪裏的問題?