lib/convert_unit/area.rb in convert_unit-0.1.0 vs lib/convert_unit/area.rb in convert_unit-0.2.0

- old
+ new

@@ -17,10 +17,10 @@ end def to(c_unit) c_unit.downcase! unit_symbol = Area::UNITS_SYMBOL[c_unit] || c_unit - raise ArgumentError, 'Unpossible conversion type' unless Area::UNITS.include?(unit_symbol) + raise ArgumentError, 'Impossible conversion type' unless Area::UNITS.include?(unit_symbol) Area.new(convert_to(unit_symbol), unit_symbol) end end end