Class: Raif::CLI::Base
- Inherits:
-
Object
- Object
- Raif::CLI::Base
- Defined in:
- lib/raif/cli/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(args = []) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(args = []) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/raif/cli/base.rb', line 8 def initialize(args = []) @args = args @options = {} end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/raif/cli/base.rb', line 6 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/raif/cli/base.rb', line 6 def @options end |