Class: Booky::Layout::Base::Author
- Defined in:
- lib/booky/layout/base/author.rb
Constant Summary collapse
- OPTIONS =
{ :align => :center, :size => 12 }
Instance Attribute Summary
Attributes inherited from Element
#ast, #document, #index, #options
Instance Method Summary collapse
Methods inherited from Element
#initialize, #method_missing, #next_option, #previous_option
Constructor Details
This class inherits a constructor from Booky::Layout::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Booky::Layout::Element
Instance Method Details
#to_prawn ⇒ Object
9 10 11 12 |
# File 'lib/booky/layout/base/author.rb', line 9 def to_prawn text @options[:text], OPTIONS move_down 0.2.cm end |