Sha256: 440b8dae30deedb6cd0cb0242cb145d1f8db26aa0bbfd43c8d1249d7effe335e
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
module ThousandIsland module Components class Header < Base def render pdf.bounding_box([0, pdf.bounds.height], width: pdf.bounds.width, height: options[:height]) do yield if block_given? end end def repeated? options[:repeated] end def self.defaults { height: 33, bottom_padding: 20, repeated: true } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems