Class: Omnivore::Document::Paragraph
- Inherits:
-
Struct
- Object
- Struct
- Omnivore::Document::Paragraph
- Defined in:
- lib/omnivore/document.rb
Overview
A Struct descibing a paragraph, including it’s :path in the document, :text, and various metrics, such as :text_density.
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#text ⇒ Object
Returns the value of attribute text.
-
#text_density ⇒ Object
Returns the value of attribute text_density.
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
15 16 17 |
# File 'lib/omnivore/document.rb', line 15 def path @path end |
#text ⇒ Object
Returns the value of attribute text
15 16 17 |
# File 'lib/omnivore/document.rb', line 15 def text @text end |
#text_density ⇒ Object
Returns the value of attribute text_density
15 16 17 |
# File 'lib/omnivore/document.rb', line 15 def text_density @text_density end |