Class: Commands::InstanceTypeOption
- Inherits:
-
CommandOption
- Object
- CommandOption
- Commands::InstanceTypeOption
- Defined in:
- lib/commands.rb
Instance Attribute Summary
Attributes inherited from CommandOption
#arg, #commands, #description, #name, #parent_commands
Instance Method Summary collapse
Methods inherited from CommandOption
Constructor Details
This class inherits a constructor from Commands::CommandOption
Instance Method Details
#attach(commands) ⇒ Object
1250 1251 1252 1253 1254 |
# File 'lib/commands.rb', line 1250 def attach(commands) command = super(commands) command.instance_type = @arg return command end |