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])


1421
# File 'sig/types.rbs', line 1421

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)


1418
1419
1420
# File 'sig/types.rbs', line 1418

def character_count
  @character_count
end

#headersArray[String]?

Returns the value of attribute headers.

Returns:

  • (Array[String], nil)


1419
1420
1421
# File 'sig/types.rbs', line 1419

def headers
  @headers
end

#line_countInteger?

Returns the value of attribute line_count.

Returns:

  • (Integer, nil)


1416
1417
1418
# File 'sig/types.rbs', line 1416

def line_count
  @line_count
end

#word_countInteger?

Returns the value of attribute word_count.

Returns:

  • (Integer, nil)


1417
1418
1419
# File 'sig/types.rbs', line 1417

def word_count
  @word_count
end