class Batch

Public Class Methods

new() click to toggle source

Process all spreadsheets in specified directory

# File lib/menu.rb, line 102
def initialize
  puts #format
end

Public Instance Methods

process(cur_conf) click to toggle source
# File lib/menu.rb, line 106
def process(cur_conf)
  if cur_conf[:work_dir] == "Not Set" || cur_conf[:auto_mater] == "Off"
    cur_conf = Configurator.new.choices(cur_conf)
  end
  puts "Processing " + cur_conf[:work_dir].yellow + ":"
  sleep(0.5)
  puts "...".yellow
  sleep(0.5)
  puts "......".red
  sleep(0.5)
  puts ".........done!".green
  Printers.new.batch(cur_conf[:work_dir])
end