Class: FlexStationData::ValueQuality::Bad
- Inherits:
-
Object
- Object
- FlexStationData::ValueQuality::Bad
- Defined in:
- lib/flex_station_data/services/value_quality.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Instance Method Summary collapse
- #good? ⇒ Boolean
-
#initialize(description) ⇒ Bad
constructor
A new instance of Bad.
- #to_s ⇒ Object
Constructor Details
#initialize(description) ⇒ Bad
Returns a new instance of Bad.
27 28 29 |
# File 'lib/flex_station_data/services/value_quality.rb', line 27 def initialize(description) @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
25 26 27 |
# File 'lib/flex_station_data/services/value_quality.rb', line 25 def description @description end |
Instance Method Details
#good? ⇒ Boolean
31 32 33 |
# File 'lib/flex_station_data/services/value_quality.rb', line 31 def good? false end |
#to_s ⇒ Object
35 36 37 |
# File 'lib/flex_station_data/services/value_quality.rb', line 35 def to_s description end |