Sha256: 613ee94d26b09399b54986bc3104a738fa8925974a187acbbd20e31ca303e09d

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

module DotGrid
  module Page
    class HorizontalRule < Page
      attr_accessor(
        :pattern
      )

      def initialize(params)
        super
        @pattern = ::DotGrid::Pattern::HorizontalRule.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/horizontal_rule.rb