Class: Commands::InstanceCountOption

Inherits:
CommandOption show all
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

#initialize

Constructor Details

This class inherits a constructor from Commands::CommandOption

Instance Method Details

#attach(commands) ⇒ Object

[View source]

1198
1199
1200
1201
1202
# File 'lib/commands.rb', line 1198

def attach(commands)
  command = super(commands)
  command.instance_count = @arg.to_i
  return command
end