Exception: UnitMeasurements::BlankQuantityError
- Defined in:
- lib/unit_measurements/errors/blank_quantity_error.rb
Overview
The UnitMeasurements::BlankQuantityError
class represents an error that occurs when trying to initialize the Measurement
with a blank quantity.
Instance Method Summary collapse
-
#initialize ⇒ BlankQuantityError
constructor
Initializes a new
BlankQuantityError
instance.
Constructor Details
#initialize ⇒ BlankQuantityError
Initializes a new BlankQuantityError
instance.
17 18 19 |
# File 'lib/unit_measurements/errors/blank_quantity_error.rb', line 17 def initialize super("Quantity cannot be blank.") end |