Class: Xberg::TextMetadata
- Inherits:
-
Object
- Object
- Xberg::TextMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#character_count ⇒ Integer?
Returns the value of attribute character_count.
-
#headers ⇒ Array[String]?
Returns the value of attribute headers.
-
#line_count ⇒ Integer?
Returns the value of attribute line_count.
-
#word_count ⇒ Integer?
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.
1304 |
# File 'sig/types.rbs', line 1304
def initialize: (?line_count: Integer, ?word_count: Integer, ?character_count: Integer, ?headers: Array[String]) -> void
|
Instance Attribute Details
#character_count ⇒ Integer?
Returns the value of attribute character_count.
1301 1302 1303 |
# File 'sig/types.rbs', line 1301 def character_count @character_count end |
#headers ⇒ Array[String]?
Returns the value of attribute headers.
1302 1303 1304 |
# File 'sig/types.rbs', line 1302 def headers @headers end |
#line_count ⇒ Integer?
Returns the value of attribute line_count.
1299 1300 1301 |
# File 'sig/types.rbs', line 1299 def line_count @line_count end |
#word_count ⇒ Integer?
Returns the value of attribute word_count.
1300 1301 1302 |
# File 'sig/types.rbs', line 1300 def word_count @word_count end |