lib/squid/plotter.rb in squid-1.1.0 vs lib/squid/plotter.rb in squid-1.2.0
- old
+ new
@@ -178,11 +178,9 @@
@pdf.fill_rectangle [x, @pdf.bounds.height - size], size, size
end
x - entry_padding
end
-
-
# Convenience method to wrap a block by setting and unsetting a Prawn
# property such as line_width.
def with(new_values = {})
transparency = new_values.delete(:transparency) { 1.0 }
old_values = Hash[new_values.map{|k,_| [k,@pdf.public_send(k)]}]