Class: Ncn::CommandParams::Base
- Inherits:
-
Object
- Object
- Ncn::CommandParams::Base
- Defined in:
- lib/ncn/command_params/base.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(arguments: [], options: {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(arguments: [], options: {}) ⇒ Base
Returns a new instance of Base.
6 7 8 9 |
# File 'lib/ncn/command_params/base.rb', line 6 def initialize(arguments: [], options: {}) @arguments = arguments @options = end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
4 5 6 |
# File 'lib/ncn/command_params/base.rb', line 4 def arguments @arguments end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/ncn/command_params/base.rb', line 4 def @options end |