Class: Argos::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/argos/command.rb

Constant Summary collapse

PARAM_DEFAULT =
{ format: "json",
  action: "parse",
  level: Logger::WARN,
  dest: nil,
  filter: nil,
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCommand

Returns a new instance of Command.



15
16
17
# File 'lib/argos/command.rb', line 15

def initialize
  @param = PARAM_DEFAULT
end

Instance Attribute Details

#paramObject

Returns the value of attribute param.



6
7
8
# File 'lib/argos/command.rb', line 6

def param
  @param
end