Module: FourTwenty
- Defined in:
- lib/420.rb
Overview
FourTwenty is the includable ruby module to run the thor app and test
Class Method Summary collapse
Class Method Details
.run ⇒ Object
61 62 63 64 65 |
# 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) ⇒ Object
66 67 68 69 70 |
# 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 |