Class: Datasets::FuelEconomy::Record
- Inherits:
-
Struct
- Object
- Struct
- Datasets::FuelEconomy::Record
- Defined in:
- lib/datasets/fuel-economy.rb
Instance Attribute Summary collapse
-
#city_mpg ⇒ Object
Returns the value of attribute city_mpg.
-
#displacement ⇒ Object
Returns the value of attribute displacement.
-
#drive_train ⇒ Object
Returns the value of attribute drive_train.
-
#fuel ⇒ Object
Returns the value of attribute fuel.
-
#highway_mpg ⇒ Object
Returns the value of attribute highway_mpg.
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#model ⇒ Object
Returns the value of attribute model.
-
#n_cylinders ⇒ Object
Returns the value of attribute n_cylinders.
-
#transmission ⇒ Object
Returns the value of attribute transmission.
-
#type ⇒ Object
Returns the value of attribute type.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Attribute Details
#city_mpg ⇒ Object
Returns the value of attribute city_mpg
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def city_mpg @city_mpg end |
#displacement ⇒ Object
Returns the value of attribute displacement
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def displacement @displacement end |
#drive_train ⇒ Object
Returns the value of attribute drive_train
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def drive_train @drive_train end |
#fuel ⇒ Object
Returns the value of attribute fuel
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def fuel @fuel end |
#highway_mpg ⇒ Object
Returns the value of attribute highway_mpg
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def highway_mpg @highway_mpg end |
#manufacturer ⇒ Object
Returns the value of attribute manufacturer
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def manufacturer @manufacturer end |
#model ⇒ Object
Returns the value of attribute model
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def model @model end |
#n_cylinders ⇒ Object
Returns the value of attribute n_cylinders
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def n_cylinders @n_cylinders end |
#transmission ⇒ Object
Returns the value of attribute transmission
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def transmission @transmission end |
#type ⇒ Object
Returns the value of attribute type
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def type @type end |
#year ⇒ Object
Returns the value of attribute year
5 6 7 |
# File 'lib/datasets/fuel-economy.rb', line 5 def year @year end |