Class: Xberg::TextMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTextMetadata

Returns a new instance of TextMetadata.

Parameters:

  • line_count: (Integer)
  • word_count: (Integer)
  • character_count: (Integer)
  • headers: (Array[String])


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_countInteger?

Returns the value of attribute character_count.

Returns:

  • (Integer, nil)


1301
1302
1303
# File 'sig/types.rbs', line 1301

def character_count
  @character_count
end

#headersArray[String]?

Returns the value of attribute headers.

Returns:

  • (Array[String], nil)


1302
1303
1304
# File 'sig/types.rbs', line 1302

def headers
  @headers
end

#line_countInteger?

Returns the value of attribute line_count.

Returns:

  • (Integer, nil)


1299
1300
1301
# File 'sig/types.rbs', line 1299

def line_count
  @line_count
end

#word_countInteger?

Returns the value of attribute word_count.

Returns:

  • (Integer, nil)


1300
1301
1302
# File 'sig/types.rbs', line 1300

def word_count
  @word_count
end