Class: PDF::Core::OutlineRoot
- Inherits:
-
Object
- Object
- PDF::Core::OutlineRoot
- Defined in:
- lib/pdf/core/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.
282 283 284 |
# File 'lib/pdf/core/outline.rb', line 282 def initialize @count = 0 end |
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
280 281 282 |
# File 'lib/pdf/core/outline.rb', line 280 def count @count end |
#first ⇒ Object
Returns the value of attribute first.
280 281 282 |
# File 'lib/pdf/core/outline.rb', line 280 def first @first end |
#last ⇒ Object
Returns the value of attribute last.
280 281 282 |
# File 'lib/pdf/core/outline.rb', line 280 def last @last end |
Instance Method Details
#to_hash ⇒ Object
286 287 288 |
# File 'lib/pdf/core/outline.rb', line 286 def to_hash {:Type => :Outlines, :Count => count, :First => first, :Last => last} end |