Class: Nabokov::Runner
- Inherits:
-
CLAide::Command
- Object
- CLAide::Command
- Nabokov::Runner
- Defined in:
- lib/nabokov/commands/runner.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ Runner
constructor
A new instance of Runner.
- #ui ⇒ Object
Constructor Details
#initialize(argv) ⇒ Runner
Returns a new instance of Runner.
13 14 15 16 |
# File 'lib/nabokov/commands/runner.rb', line 13 def initialize(argv) super @cork = Cork::Board.new(silent: argv.option("silent", false), verbose: argv.option("verbose", false)) end |
Instance Method Details
#ui ⇒ Object
18 19 20 |
# File 'lib/nabokov/commands/runner.rb', line 18 def ui @ui ||= Informator.new(@cork) end |