Class: Xberg::TextMetadata
- Inherits:
-
Object
- Object
- Xberg::TextMetadata
- 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.
-
#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 ⇒ TextMetadata
constructor
A new instance of TextMetadata.
Constructor Details
#initialize ⇒ TextMetadata
Returns a new instance of TextMetadata.
2570 |
# File 'sig/types.rbs', line 2570
def initialize: (?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.
2565 2566 2567 |
# File 'sig/types.rbs', line 2565 def character_count @character_count end |
#code_blocks ⇒ Array[MarkdownCodeBlock]? (readonly)
Returns the value of attribute code_blocks.
2568 2569 2570 |
# File 'sig/types.rbs', line 2568 def code_blocks @code_blocks end |
#headers ⇒ Array[String]? (readonly)
Returns the value of attribute headers.
2566 2567 2568 |
# File 'sig/types.rbs', line 2566 def headers @headers end |
#line_count ⇒ Integer (readonly)
Returns the value of attribute line_count.
2563 2564 2565 |
# File 'sig/types.rbs', line 2563 def line_count @line_count end |
#links ⇒ Array[MarkdownLink]? (readonly)
Returns the value of attribute links.
2567 2568 2569 |
# File 'sig/types.rbs', line 2567 def links @links end |
#word_count ⇒ Integer (readonly)
Returns the value of attribute word_count.
2564 2565 2566 |
# File 'sig/types.rbs', line 2564 def word_count @word_count end |