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