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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end

Instance Method Details

#hidden?Boolean

Returns:

  • (Boolean)


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

def hidden?
  !reason.nil?
end