lib/convert_unit/volume.rb in convert_unit-0.1.0 vs lib/convert_unit/volume.rb in convert_unit-0.2.0
- old
+ new
@@ -17,10 +17,10 @@
end
def to(c_unit)
c_unit.downcase!
unit_symbol = Volume::UNITS_SYMBOL[c_unit] || c_unit
- raise ArgumentError, 'Unpossible conversion type' unless Volume::UNITS.include?(unit_symbol)
+ raise ArgumentError, 'Impossible conversion type' unless Volume::UNITS.include?(unit_symbol)
Volume.new(convert_to(unit_symbol), unit_symbol)
end
end
end