Sha256: d2bd91d0b03b9f30eb9026e119c8731b483c958231e784c94fd53403bad4cdcb

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

module ThousandIsland
  module Components
    class Body < Base
      
      def render
        start_coords = [0, options[:top]]
        pdf.bounding_box(start_coords, height: options[:height], width: pdf.bounds.width) do
          yield if block_given?
        end
      end

      def self.defaults
        {
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thousand_island-0.1.2 lib/thousand_island/components/body.rb
thousand_island-0.1.1 lib/thousand_island/components/body.rb
thousand_island-0.1.0 lib/thousand_island/components/body.rb
thousand_island-0.0.1 lib/thousand_island/components/body.rb