Class: Pdf::Components::Title
- Inherits:
-
Pdf::Component
- Object
- Pdf::Component
- Pdf::Components::Title
- Defined in:
- lib/pdf/components/title.rb
Instance Attribute Summary
Attributes inherited from Pdf::Component
Instance Method Summary collapse
Methods inherited from Pdf::Component
Constructor Details
This class inherits a constructor from Pdf::Component
Instance Method Details
#render(content, size: 20, **options) ⇒ Object
6 7 8 9 |
# File 'lib/pdf/components/title.rb', line 6 def render(content, size: 20, **) text content, size: size, style: :bold, ** move_down 10 end |