Class: Datasets::FuelEconomy::Record

Inherits:
Struct
  • Object
show all
Defined in:
lib/datasets/fuel-economy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#city_mpgObject

Returns the value of attribute city_mpg

Returns:

  • (Object)

    the current value of city_mpg



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def city_mpg
  @city_mpg
end

#displacementObject

Returns the value of attribute displacement

Returns:

  • (Object)

    the current value of displacement



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def displacement
  @displacement
end

#drive_trainObject

Returns the value of attribute drive_train

Returns:

  • (Object)

    the current value of drive_train



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def drive_train
  @drive_train
end

#fuelObject

Returns the value of attribute fuel

Returns:

  • (Object)

    the current value of fuel



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def fuel
  @fuel
end

#highway_mpgObject

Returns the value of attribute highway_mpg

Returns:

  • (Object)

    the current value of highway_mpg



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def highway_mpg
  @highway_mpg
end

#manufacturerObject

Returns the value of attribute manufacturer

Returns:

  • (Object)

    the current value of manufacturer



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def manufacturer
  @manufacturer
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def model
  @model
end

#n_cylindersObject

Returns the value of attribute n_cylinders

Returns:

  • (Object)

    the current value of n_cylinders



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def n_cylinders
  @n_cylinders
end

#transmissionObject

Returns the value of attribute transmission

Returns:

  • (Object)

    the current value of transmission



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def transmission
  @transmission
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def type
  @type
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



5
6
7
# File 'lib/datasets/fuel-economy.rb', line 5

def year
  @year
end