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


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

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)


1456
1457
1458
# File 'sig/types.rbs', line 1456

def column_count
  @column_count
end

#column_typesArray[String]?

Returns the value of attribute column_types.

Returns:

  • (Array[String], nil)


1459
1460
1461
# File 'sig/types.rbs', line 1459

def column_types
  @column_types
end

#delimiterString?

Returns the value of attribute delimiter.

Returns:

  • (String, nil)


1457
1458
1459
# File 'sig/types.rbs', line 1457

def delimiter
  @delimiter
end

#has_headerBoolean?

Returns the value of attribute has_header.

Returns:

  • (Boolean, nil)


1458
1459
1460
# File 'sig/types.rbs', line 1458

def has_header
  @has_header
end

#row_countInteger?

Returns the value of attribute row_count.

Returns:

  • (Integer, nil)


1455
1456
1457
# File 'sig/types.rbs', line 1455

def row_count
  @row_count
end