Class: Ncn::CommandParams::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ncn/command_params/base.rb

Direct Known Subclasses

Create, List, Open

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = options
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



4
5
6
# File 'lib/ncn/command_params/base.rb', line 4

def arguments
  @arguments
end

#optionsObject (readonly)

Returns the value of attribute options.



4
5
6
# File 'lib/ncn/command_params/base.rb', line 4

def options
  @options
end