Class: Datasets::Penguins::Record

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

Instance Attribute Summary collapse

Instance Attribute Details

#bill_depth_mmObject

Returns the value of attribute bill_depth_mm

Returns:

  • (Object)

    the current value of bill_depth_mm



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def bill_depth_mm
  @bill_depth_mm
end

#bill_length_mmObject

Returns the value of attribute bill_length_mm

Returns:

  • (Object)

    the current value of bill_length_mm



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def bill_length_mm
  @bill_length_mm
end

#body_mass_gObject

Returns the value of attribute body_mass_g

Returns:

  • (Object)

    the current value of body_mass_g



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def body_mass_g
  @body_mass_g
end

#flipper_length_mmObject

Returns the value of attribute flipper_length_mm

Returns:

  • (Object)

    the current value of flipper_length_mm



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def flipper_length_mm
  @flipper_length_mm
end

#islandObject

Returns the value of attribute island

Returns:

  • (Object)

    the current value of island



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def island
  @island
end

#sexObject

Returns the value of attribute sex

Returns:

  • (Object)

    the current value of sex



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def sex
  @sex
end

#speciesObject

Returns the value of attribute species

Returns:

  • (Object)

    the current value of species



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def species
  @species
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



79
80
81
# File 'lib/datasets/penguins.rb', line 79

def year
  @year
end