module FourTwenty

FourTwenty is the includable ruby module to run the thor app and test

Public Class Methods

run() click to toggle source
# File lib/420.rb, line 61
def self.run
    dir = File.dirname(__FILE__)
    I18n.load_path = Dir[dir + '/local/*.yml', dir + '/local/*.rb']
    puts App.start
end
run_from_time(args) click to toggle source
# File lib/420.rb, line 66
def self.run_from_time(args)
    dir = File.dirname(__FILE__)
    I18n.load_path = Dir[dir + '/local/*.yml', dir + '/local/*.rb']
    App.start(args)
end