lib/lhj/command/rename_image.rb in lhj-tools-0.1.6 vs lib/lhj/command/rename_image.rb in lhj-tools-0.1.7
- old
+ new
@@ -28,10 +28,10 @@
@image_name = argv.option('name')
@image_other_name = argv.option('other')
super
end
- def run
+ def handle
rename_image
end
def rename_image
Dir.glob("#{@current_path}/**/*.{png}").sort.each do |f|