lib/esvg/symbol.rb in esvg-4.6.5 vs lib/esvg/symbol.rb in esvg-4.6.6

- old
+ new

@@ -57,15 +57,11 @@ @size[:height] end # Scale width based on propotion to height def scale_width( h ) - begin - s = split_unit( h ) - "#{( s[:size] / height * width ).round(2)}#{s[:unit]}" - rescue StandardError - binding.pry - end + s = split_unit( h ) + "#{( s[:size] / height * width ).round(2)}#{s[:unit]}" end # Scale height based on propotion to width def scale_height( w ) s = split_unit( w )