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


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

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

Instance Attribute Details

#column_countInteger?

Returns the value of attribute column_count.

Returns:

  • (Integer, nil)


1401
1402
1403
# File 'sig/types.rbs', line 1401

def column_count
  @column_count
end

#column_typesArray[String]?

Returns the value of attribute column_types.

Returns:

  • (Array[String], nil)


1404
1405
1406
# File 'sig/types.rbs', line 1404

def column_types
  @column_types
end

#delimiterString?

Returns the value of attribute delimiter.

Returns:

  • (String, nil)


1402
1403
1404
# File 'sig/types.rbs', line 1402

def delimiter
  @delimiter
end

#has_headerBoolean?

Returns the value of attribute has_header.

Returns:

  • (Boolean, nil)


1403
1404
1405
# File 'sig/types.rbs', line 1403

def has_header
  @has_header
end

#row_countInteger?

Returns the value of attribute row_count.

Returns:

  • (Integer, nil)


1400
1401
1402
# File 'sig/types.rbs', line 1400

def row_count
  @row_count
end