Class: Argos::Command
- Inherits:
-
Object
- Object
- Argos::Command
- 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
-
#param ⇒ Object
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize ⇒ Command
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
#param ⇒ Object
Returns the value of attribute param.
6 7 8 |
# File 'lib/argos/command.rb', line 6 def param @param end |