Class: Xberg::CsvMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCsvMetadata

Returns a new instance of CsvMetadata.

Parameters:

  • row_count: (Integer)
  • column_count: (Integer)
  • delimiter: (String)
  • has_header: (Boolean)
  • column_types: (Array[String])


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

def initialize: (?row_count: Integer, ?column_count: Integer, ?delimiter: String, ?has_header: bool, ?column_types: Array[String]) -> void

Instance Attribute Details

#column_countInteger (readonly)

Returns the value of attribute column_count.

Returns:

  • (Integer)


449
450
451
# File 'sig/types.rbs', line 449

def column_count
  @column_count
end

#column_typesArray[String]? (readonly)

Returns the value of attribute column_types.

Returns:

  • (Array[String], nil)


452
453
454
# File 'sig/types.rbs', line 452

def column_types
  @column_types
end

#delimiterString? (readonly)

Returns the value of attribute delimiter.

Returns:

  • (String, nil)


450
451
452
# File 'sig/types.rbs', line 450

def delimiter
  @delimiter
end

#has_headerBoolean (readonly)

Returns the value of attribute has_header.

Returns:

  • (Boolean)


451
452
453
# File 'sig/types.rbs', line 451

def has_header
  @has_header
end

#row_countInteger (readonly)

Returns the value of attribute row_count.

Returns:

  • (Integer)


448
449
450
# File 'sig/types.rbs', line 448

def row_count
  @row_count
end