Class: Commands::ArgsOption

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



1075
1076
1077
1078
1079
# File 'lib/commands.rb', line 1075

def attach(commands)
  command = super(commands)
  command.args += @arg.split(",")
  return command
end