class ThousandIsland::Components::Body
Public Class Methods
defaults()
click to toggle source
# File lib/thousand_island/components/body.rb, line 12 def self.defaults { } end
Public Instance Methods
render() { || ... }
click to toggle source
# File lib/thousand_island/components/body.rb, line 5 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