Sha256: 25978addac90e34b25af95a0dd9cec0339bac9bbe213493c014e830b701e1a42
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
module DotGrid module Page class Grid < Page attr_accessor( :grid_color, :spacing, :pattern ) def initialize(params) super @pattern = ::DotGrid::Pattern::Grid.new(params.merge!(:bounds => pdf.bounds)) end def generate super pattern.draw end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dot_grid-0.0.4 | lib/dot_grid/page/grid.rb |