Class: Argos::Command

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

Constant Summary

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Command) initialize

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

- (Object) param

Returns the value of attribute param



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

def param
  @param
end