Class: Applause::Runner
- Inherits:
-
Object
- Object
- Applause::Runner
- Defined in:
- lib/applause/runner.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#parser ⇒ Object
readonly
Returns the value of attribute parser.
Instance Method Summary collapse
-
#initialize(args:, options:, parser: Parser.new) ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Constructor Details
#initialize(args:, options:, parser: Parser.new) ⇒ Runner
Returns a new instance of Runner.
7 8 9 10 11 |
# File 'lib/applause/runner.rb', line 7 def initialize(args:, options:, parser: Parser.new) @args = args = @parser = parser end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
5 6 7 |
# File 'lib/applause/runner.rb', line 5 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/applause/runner.rb', line 5 def end |
#parser ⇒ Object (readonly)
Returns the value of attribute parser.
5 6 7 |
# File 'lib/applause/runner.rb', line 5 def parser @parser end |
Instance Method Details
#run ⇒ Object
13 14 15 |
# File 'lib/applause/runner.rb', line 13 def run (args_list) end |