class Starter

@note This class is helper for ./bin/artemo file

Public Class Methods

call(args) click to toggle source

@note This method is helper for ./bin/artemo file

# File lib/artemo.rb, line 40
def self.call(args)
  if args.empty? 
    puts "artemo [your text file], to plot data to pdf use artemo --plot [your text file]"
  elsif args.first != '--plot'
    puts ArtEmo.call(args.last)
  else
    to_plot = ArtEmo.call(args.last)
    Plot.call(args.last, to_plot)
  end
end