Class: Pdfrb::Content::HiddenTextDetector::HiddenItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/pdfrb/content/hidden_text_detector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pageObject

Returns the value of attribute page



15
16
17
# File 'lib/pdfrb/content/hidden_text_detector.rb', line 15

def page
  @page
end

#reasonObject

Returns the value of attribute reason



15
16
17
# File 'lib/pdfrb/content/hidden_text_detector.rb', line 15

def reason
  @reason
end

#textObject

Returns the value of attribute text



15
16
17
# File 'lib/pdfrb/content/hidden_text_detector.rb', line 15

def text
  @text
end

Instance Method Details

#hidden?Boolean



16
17
18
# File 'lib/pdfrb/content/hidden_text_detector.rb', line 16

def hidden?
  !reason.nil?
end