Class: Datasets::Diamonds::Record
- Inherits:
-
Struct
- Object
- Struct
- Datasets::Diamonds::Record
- Defined in:
- lib/datasets/diamonds.rb
Instance Attribute Summary collapse
-
#carat ⇒ Object
Returns the value of attribute carat.
-
#clarity ⇒ Object
Returns the value of attribute clarity.
-
#color ⇒ Object
Returns the value of attribute color.
-
#cut ⇒ Object
Returns the value of attribute cut.
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#price ⇒ Object
Returns the value of attribute price.
-
#table ⇒ Object
Returns the value of attribute table.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Attribute Details
#carat ⇒ Object
Returns the value of attribute carat
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def carat @carat end |
#clarity ⇒ Object
Returns the value of attribute clarity
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def clarity @clarity end |
#color ⇒ Object
Returns the value of attribute color
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def color @color end |
#cut ⇒ Object
Returns the value of attribute cut
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def cut @cut end |
#depth ⇒ Object
Returns the value of attribute depth
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def depth @depth end |
#price ⇒ Object
Returns the value of attribute price
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def price @price end |
#table ⇒ Object
Returns the value of attribute table
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def table @table end |
#x ⇒ Object
Returns the value of attribute x
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def x @x end |
#y ⇒ Object
Returns the value of attribute y
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def y @y end |
#z ⇒ Object
Returns the value of attribute z
5 6 7 |
# File 'lib/datasets/diamonds.rb', line 5 def z @z end |