Class: CSVMapper::Column

Inherits:
Struct
  • Object
show all
Defined in:
lib/csvmapper.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attrObject

Returns the value of attribute attr

Returns:

  • (Object)

    the current value of attr



5
6
7
# File 'lib/csvmapper.rb', line 5

def attr
  @attr
end

#conversionObject

Returns the value of attribute conversion

Returns:

  • (Object)

    the current value of conversion



5
6
7
# File 'lib/csvmapper.rb', line 5

def conversion
  @conversion
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



5
6
7
# File 'lib/csvmapper.rb', line 5

def source
  @source
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/csvmapper.rb', line 5

def type
  @type
end