Class: Roger::Cli::Base
- Inherits:
-
Thor
- Object
- Thor
- Roger::Cli::Base
- Defined in:
- lib/roger/cli.rb
Overview
The Roger main entrypoint!
Class Attribute Summary collapse
-
.project ⇒ Object
Returns the value of attribute project.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
- #version ⇒ Object
Constructor Details
#initialize(*args) ⇒ Base
Returns a new instance of Base.
40 41 42 43 |
# File 'lib/roger/cli.rb', line 40 def initialize(*args) super self.class.project ||= initialize_project end |
Class Attribute Details
.project ⇒ Object
Returns the value of attribute project.
46 47 48 |
# File 'lib/roger/cli.rb', line 46 def project @project end |
Class Method Details
.exit_on_failure? ⇒ Boolean
48 49 50 |
# File 'lib/roger/cli.rb', line 48 def exit_on_failure? true end |