Class: Pdftotext::Page
- Inherits:
-
Object
- Object
- Pdftotext::Page
- Defined in:
- lib/pdftotext/page.rb
Instance Attribute Summary collapse
-
#number ⇒ Object
readonly
Returns the value of attribute number.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(options) ⇒ Page
constructor
A new instance of Page.
Constructor Details
#initialize(options) ⇒ Page
5 6 7 8 |
# File 'lib/pdftotext/page.rb', line 5 def initialize() @text = [:text] @number = [:number] end |
Instance Attribute Details
#number ⇒ Object (readonly)
Returns the value of attribute number.
3 4 5 |
# File 'lib/pdftotext/page.rb', line 3 def number @number end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
3 4 5 |
# File 'lib/pdftotext/page.rb', line 3 def text @text end |