class CarToCat::Cli

Public Instance Methods

execute(arguments) click to toggle source
# File lib/car_to_cat/cli.rb, line 5
def execute(arguments)
  input_file  = File.new arguments[0], 'r'
  output_file = File.new arguments[1], 'w'
  CarToCat::Base.convert(input_file, output_file)
  input_file.close
  output_file.close
end