Class: Commands::InstanceCountOption
- Inherits:
-
CommandOption
- Object
- CommandOption
- Commands::InstanceCountOption
- 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
1242 1243 1244 1245 1246 |
# File 'lib/commands.rb', line 1242 def attach(commands) command = super(commands) command.instance_count = @arg.to_i return command end |