Class: Bashy::Run
- Inherits:
-
Object
- Object
- Bashy::Run
- Defined in:
- lib/bashy.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Run
constructor
A new instance of Run.
Constructor Details
#initialize(options = {}) ⇒ Run
Returns a new instance of Run.
102 103 104 105 106 107 108 |
# File 'lib/bashy.rb', line 102 def initialize( = {}) # Check that our directories are in tact. Bashy::check_and_load_config_directory unless [:name].nil? exec(File.join(SNIPPET_PATH, [:name]), *[:args]) end end |