manual/graphics/fill_and_stroke.rb in prawn-2.3.0 vs manual/graphics/fill_and_stroke.rb in prawn-2.4.0
- old
+ new
@@ -31,10 +31,10 @@
rectangle [0, 100], 100, 100
fill
# With block
stroke { line [200, 200], [300, 150] }
- fill { rectangle [200, 100], 100, 100 }
+ fill { rectangle [200, 100], 100, 100 }
# Method hook
stroke_line [400, 200], [500, 150]
fill_rectangle [400, 100], 100, 100
end