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


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

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)


1312
1313
1314
# File 'sig/types.rbs', line 1312

def character_count
  @character_count
end

#headersArray[String]?

Returns the value of attribute headers.

Returns:

  • (Array[String], nil)


1313
1314
1315
# File 'sig/types.rbs', line 1313

def headers
  @headers
end

#line_countInteger?

Returns the value of attribute line_count.

Returns:

  • (Integer, nil)


1310
1311
1312
# File 'sig/types.rbs', line 1310

def line_count
  @line_count
end

#word_countInteger?

Returns the value of attribute word_count.

Returns:

  • (Integer, nil)


1311
1312
1313
# File 'sig/types.rbs', line 1311

def word_count
  @word_count
end