Class: Commands::ArgOption

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



1045
1046
1047
1048
1049
# File 'lib/commands.rb', line 1045

def attach(commands)
  command = super(commands)
  command.args << @arg
  return command
end