Class: Xberg::TextExtractionResult
- Inherits:
-
Object
- Object
- Xberg::TextExtractionResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#character_count ⇒ Integer
readonly
Returns the value of attribute character_count.
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#headers ⇒ Array[String]
readonly
Returns the value of attribute headers.
-
#line_count ⇒ Integer
readonly
Returns the value of attribute line_count.
-
#word_count ⇒ Integer
readonly
Returns the value of attribute word_count.
Instance Method Summary collapse
-
#initialize ⇒ TextExtractionResult
constructor
A new instance of TextExtractionResult.
Constructor Details
#initialize ⇒ TextExtractionResult
Returns a new instance of TextExtractionResult.
1127 |
# File 'sig/types.rbs', line 1127
def initialize: (content: String, line_count: Integer, word_count: Integer, character_count: Integer, ?headers: Array[String]) -> void
|
Instance Attribute Details
#character_count ⇒ Integer (readonly)
Returns the value of attribute character_count.
1124 1125 1126 |
# File 'sig/types.rbs', line 1124 def character_count @character_count end |
#content ⇒ String (readonly)
Returns the value of attribute content.
1121 1122 1123 |
# File 'sig/types.rbs', line 1121 def content @content end |
#headers ⇒ Array[String] (readonly)
Returns the value of attribute headers.
1125 1126 1127 |
# File 'sig/types.rbs', line 1125 def headers @headers end |
#line_count ⇒ Integer (readonly)
Returns the value of attribute line_count.
1122 1123 1124 |
# File 'sig/types.rbs', line 1122 def line_count @line_count end |
#word_count ⇒ Integer (readonly)
Returns the value of attribute word_count.
1123 1124 1125 |
# File 'sig/types.rbs', line 1123 def word_count @word_count end |