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
permalink #attach(commands) ⇒ Object
[View source]
1206 1207 1208 1209 1210 |
# File 'lib/commands.rb', line 1206 def attach(commands) command = super(commands) command.instance_type = @arg return command end |