Class: Prawn::OutlineRoot
- Inherits:
-
Object
- Object
- Prawn::OutlineRoot
- Defined in:
- lib/prawn/outline.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#first ⇒ Object
Returns the value of attribute first.
-
#last ⇒ Object
Returns the value of attribute last.
Instance Method Summary collapse
-
#initialize ⇒ OutlineRoot
constructor
A new instance of OutlineRoot.
- #to_hash ⇒ Object
Constructor Details
#initialize ⇒ OutlineRoot
Returns a new instance of OutlineRoot.
293 294 295 |
# File 'lib/prawn/outline.rb', line 293 def initialize @count = 0 end |
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
291 292 293 |
# File 'lib/prawn/outline.rb', line 291 def count @count end |
#first ⇒ Object
Returns the value of attribute first.
291 292 293 |
# File 'lib/prawn/outline.rb', line 291 def first @first end |
#last ⇒ Object
Returns the value of attribute last.
291 292 293 |
# File 'lib/prawn/outline.rb', line 291 def last @last end |
Instance Method Details
#to_hash ⇒ Object
297 298 299 |
# File 'lib/prawn/outline.rb', line 297 def to_hash {:Type => :Outlines, :Count => count, :First => first, :Last => last} end |