Class: XYP::Runner
- Inherits:
-
Object
- Object
- XYP::Runner
- Defined in:
- lib/xyp/runner.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Runner
constructor
A new instance of Runner.
- #run(arguments) ⇒ Object
Constructor Details
#initialize ⇒ Runner
Returns a new instance of Runner.
12 13 14 |
# File 'lib/xyp/runner.rb', line 12 def initialize @options={} end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
10 11 12 |
# File 'lib/xyp/runner.rb', line 10 def @options end |
Class Method Details
.run(*arguments) ⇒ Object
16 17 18 |
# File 'lib/xyp/runner.rb', line 16 def self.run *arguments new.run(arguments) end |
Instance Method Details
#run(arguments) ⇒ Object
20 21 22 23 |
# File 'lib/xyp/runner.rb', line 20 def run arguments = (arguments) gui end |