lib/prawn/document.rb in prawn-2.2.0 vs lib/prawn/document.rb in prawn-2.2.1

- old
+ new

@@ -719,10 +719,10 @@ 2 => [0, 1, 0, 1], 1 => [0, 0, 0, 0], 0 => [] }[margin.length] sides.zip(positions).each do |side, pos| - new_margin = options["#{side}_margin"] || (margin[pos] if pos) + new_margin = options[:"#{side}_margin"] || (margin[pos] if pos) state.page.margins[side] = new_margin if new_margin end end def font_metric_cache #:nodoc: