Class: TTYCoke::Run
- Inherits:
-
Object
- Object
- TTYCoke::Run
- Defined in:
- lib/ttycoke/run.rb
Instance Method Summary collapse
-
#initialize(argv = {}) ⇒ Run
constructor
A new instance of Run.
Constructor Details
#initialize(argv = {}) ⇒ Run
Returns a new instance of Run.
4 5 6 7 8 9 10 |
# File 'lib/ttycoke/run.rb', line 4 def initialize argv={} log_rescue(self, __method__, caller) { @argv = argv @prog = TTYCoke::Config.new.find_program(@argv.fetch(0)) } start! end |