Class: Pdf::Components::Spacer

Inherits:
Pdf::Component show all
Defined in:
lib/pdf/components/spacer.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(amount: 20, **_options) ⇒ Object



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

def render(amount: 20, **_options)
  move_down amount
end