lib/lhj/command/trans.rb in lhj-tools-0.1.6 vs lib/lhj/command/trans.rb in lhj-tools-0.1.7
- old
+ new
@@ -19,10 +19,10 @@
@file_type = argv.option('file-type', 'm,h,pch,xib')
@zh_cn = argv.flag?('zh-cn', false)
super
end
- def run
+ def handle
handler_files
end
def handler_files
Dir.glob("#{@current_path}/**/*.{#{@file_type}}").each do |f|