Class: Convoy::ActionCommand::Base
- Inherits:
-
Object
- Object
- Convoy::ActionCommand::Base
- Defined in:
- lib/convoy/action_command/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options, arguments, config = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options, arguments, config = {}) ⇒ Base
Returns a new instance of Base.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/convoy/action_command/base.rb', line 6 def initialize(, arguments, config={}) @options = @arguments = arguments @config = config @command_context = nil @command_options = nil @parent_options = nil @grandparent_options = nil @global_options = nil end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
4 5 6 |
# File 'lib/convoy/action_command/base.rb', line 4 def arguments @arguments end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/convoy/action_command/base.rb', line 4 def config @config end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/convoy/action_command/base.rb', line 4 def @options end |