class BitmapCompiler::CLI
Public Instance Methods
process_file()
click to toggle source
CLI
method to call the Editor
# File lib/bitmap_compiler/cli.rb, line 13 def process_file editor.run(options[:file]) rescue StandardError => e warn "ERROR: #{e.message}" exit 1 end
Private Instance Methods
editor()
click to toggle source
# File lib/bitmap_compiler/cli.rb, line 22 def editor @editor ||= BitmapCompiler::Core::Editor.new end