Sha256: fe0432eeede46849028eb399cb64a7f06fca236ac37048d27fbaa7d87ecf3e4e

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

require 'prawn'
require "prawn/measurement_extensions"

module DotGrid
  class Generator
    attr_accessor(
      :document
    )

    def initialize(params)
      @document = DotGrid::Document.new(params)
    end

    def generate
      document.generate
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dot_grid-0.0.12 lib/dot_grid/generator.rb
dot_grid-0.0.11 lib/dot_grid/generator.rb
dot_grid-0.0.10 lib/dot_grid/generator.rb
dot_grid-0.0.9 lib/dot_grid/generator.rb
dot_grid-0.0.8 lib/dot_grid/generator.rb
dot_grid-0.0.7 lib/dot_grid/generator.rb