Class: Pdftotext::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/pdftotext/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Page



5
6
7
8
# File 'lib/pdftotext/page.rb', line 5

def initialize(options)
  @text   = options[:text]
  @number = options[:number]
end

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number.



3
4
5
# File 'lib/pdftotext/page.rb', line 3

def number
  @number
end

#textObject (readonly)

Returns the value of attribute text.



3
4
5
# File 'lib/pdftotext/page.rb', line 3

def text
  @text
end