Class: Ruport::Format::Section
- Defined in:
- lib/ruport/format/document.rb
Instance Method Summary collapse
- #add_element(name, options = {}) ⇒ Object
-
#initialize(name, options = {}) ⇒ Section
constructor
A new instance of Section.
Methods inherited from OpenNode
#<<, #[], #add_child, #each
Constructor Details
#initialize(name, options = {}) ⇒ Section
Returns a new instance of Section.
54 55 56 |
# File 'lib/ruport/format/document.rb', line 54 def initialize(name, ={}) super(:section,:page,:elements,name,) end |