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.
-
#code_blocks ⇒ Array[MarkdownCodeBlock]?
readonly
Returns the value of attribute code_blocks.
-
#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.
-
#links ⇒ Array[MarkdownLink]?
readonly
Returns the value of attribute links.
-
#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.
2559 |
# File 'sig/types.rbs', line 2559
def initialize: (content: String, line_count: Integer, word_count: Integer, character_count: Integer, ?headers: Array[String], ?links: Array[MarkdownLink], ?code_blocks: Array[MarkdownCodeBlock]) -> void
|
Instance Attribute Details
#character_count ⇒ Integer (readonly)
Returns the value of attribute character_count.
2554 2555 2556 |
# File 'sig/types.rbs', line 2554 def character_count @character_count end |
#code_blocks ⇒ Array[MarkdownCodeBlock]? (readonly)
Returns the value of attribute code_blocks.
2557 2558 2559 |
# File 'sig/types.rbs', line 2557 def code_blocks @code_blocks end |
#content ⇒ String (readonly)
Returns the value of attribute content.
2551 2552 2553 |
# File 'sig/types.rbs', line 2551 def content @content end |
#headers ⇒ Array[String]? (readonly)
Returns the value of attribute headers.
2555 2556 2557 |
# File 'sig/types.rbs', line 2555 def headers @headers end |
#line_count ⇒ Integer (readonly)
Returns the value of attribute line_count.
2552 2553 2554 |
# File 'sig/types.rbs', line 2552 def line_count @line_count end |
#links ⇒ Array[MarkdownLink]? (readonly)
Returns the value of attribute links.
2556 2557 2558 |
# File 'sig/types.rbs', line 2556 def links @links end |
#word_count ⇒ Integer (readonly)
Returns the value of attribute word_count.
2553 2554 2555 |
# File 'sig/types.rbs', line 2553 def word_count @word_count end |