class Gif2lgtm::Cli
Constants
- SUPPORT_FORMARTS
Public Instance Methods
start(*images)
click to toggle source
# File lib/gif2lgtm/cli.rb, line 8 def start(*images) # TODO: test images.each do |image| ext = File.extname(image).delete('.').upcase if SUPPORT_FORMARTS.include?(ext) Gif2lgtm::Main.start(image) else puts "extension: #{ext}" puts 'This extension is not allowed.' puts end end end