Class: Auger::Status
- Inherits:
-
Object
- Object
- Auger::Status
- Defined in:
- lib/auger/status.rb
Constant Summary collapse
- VALUES =
[:ok, :warn, :error, :exception]
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Status
constructor
A new instance of Status.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/auger/status.rb', line 5 def value @value end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/auger/status.rb', line 12 def to_s @value.to_s end |