lib/squib/args/draw.rb in squib-0.10.0 vs lib/squib/args/draw.rb in squib-0.11.0
- old
+ new
@@ -57,10 +57,10 @@
end
end
def validate_dash(arg, _i)
arg.to_s.split.collect do |x|
- convert_unit(x, @dpi).to_f
+ UnitConversion.parse(x, @dpi).to_f
end
end
def validate_fill_color(arg, _i)
colorify(arg, @custom_colors)