Class: Pdf::Components::Hr

Inherits:
Pdf::Component show all
Defined in:
lib/pdf/components/hr.rb

Instance Attribute Summary

Attributes inherited from Pdf::Component

#pdf

Instance Method Summary collapse

Methods inherited from Pdf::Component

#initialize

Constructor Details

This class inherits a constructor from Pdf::Component

Instance Method Details

#render(**_options) ⇒ Object



6
7
8
9
# File 'lib/pdf/components/hr.rb', line 6

def render(**_options)
  stroke_horizontal_rule
  move_down 10
end