Class: Zutat::NutrientTargets

Inherits:
Object
  • Object
show all
Defined in:
lib/zutat/nutrient-targets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nt) ⇒ NutrientTargets

Returns a new instance of NutrientTargets.



13
14
15
16
17
# File 'lib/zutat/nutrient-targets.rb', line 13

def initialize(nt)
  nt.each do |k,v|
    send("#{k}=",v)
  end
end

Instance Attribute Details

#biotinObject

Returns the value of attribute biotin.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def biotin
  @biotin
end

#biotin_maxObject

Returns the value of attribute biotin_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def biotin_max
  @biotin_max
end

#calciumObject

Returns the value of attribute calcium.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def calcium
  @calcium
end

#calcium_maxObject

Returns the value of attribute calcium_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def calcium_max
  @calcium_max
end

#caloriesObject

Returns the value of attribute calories.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def calories
  @calories
end

#calories_maxObject

Returns the value of attribute calories_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def calories_max
  @calories_max
end

#carbsObject

Returns the value of attribute carbs.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def carbs
  @carbs
end

#carbs_maxObject

Returns the value of attribute carbs_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def carbs_max
  @carbs_max
end

#chlorideObject

Returns the value of attribute chloride.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def chloride
  @chloride
end

#chloride_maxObject

Returns the value of attribute chloride_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def chloride_max
  @chloride_max
end

#cholesterolObject

Returns the value of attribute cholesterol.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def cholesterol
  @cholesterol
end

#cholesterol_maxObject

Returns the value of attribute cholesterol_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def cholesterol_max
  @cholesterol_max
end

#cholineObject

Returns the value of attribute choline.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def choline
  @choline
end

#choline_maxObject

Returns the value of attribute choline_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def choline_max
  @choline_max
end

#chromiumObject

Returns the value of attribute chromium.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def chromium
  @chromium
end

#chromium_maxObject

Returns the value of attribute chromium_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def chromium_max
  @chromium_max
end

#copperObject

Returns the value of attribute copper.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def copper
  @copper
end

#copper_maxObject

Returns the value of attribute copper_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def copper_max
  @copper_max
end

#fatObject

Returns the value of attribute fat.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def fat
  @fat
end

#fat_maxObject

Returns the value of attribute fat_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def fat_max
  @fat_max
end

#fiberObject

Returns the value of attribute fiber.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def fiber
  @fiber
end

#fiber_maxObject

Returns the value of attribute fiber_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def fiber_max
  @fiber_max
end

#folateObject

Returns the value of attribute folate.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def folate
  @folate
end

#folate_maxObject

Returns the value of attribute folate_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def folate_max
  @folate_max
end

#iodineObject

Returns the value of attribute iodine.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def iodine
  @iodine
end

#iodine_maxObject

Returns the value of attribute iodine_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def iodine_max
  @iodine_max
end

#ironObject

Returns the value of attribute iron.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def iron
  @iron
end

#iron_maxObject

Returns the value of attribute iron_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def iron_max
  @iron_max
end

#maganeseObject

Returns the value of attribute maganese.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def maganese
  @maganese
end

#maganese_maxObject

Returns the value of attribute maganese_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def maganese_max
  @maganese_max
end

#magnesiumObject

Returns the value of attribute magnesium.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def magnesium
  @magnesium
end

#magnesium_maxObject

Returns the value of attribute magnesium_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def magnesium_max
  @magnesium_max
end

#molybdenumObject

Returns the value of attribute molybdenum.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def molybdenum
  @molybdenum
end

#molybdenum_maxObject

Returns the value of attribute molybdenum_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def molybdenum_max
  @molybdenum_max
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def name
  @name
end

#niacinObject

Returns the value of attribute niacin.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def niacin
  @niacin
end

#niacin_maxObject

Returns the value of attribute niacin_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def niacin_max
  @niacin_max
end

#omega_3Object

Returns the value of attribute omega_3.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def omega_3
  @omega_3
end

#omega_3_maxObject

Returns the value of attribute omega_3_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def omega_3_max
  @omega_3_max
end

#omega_6Object

Returns the value of attribute omega_6.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def omega_6
  @omega_6
end

#omega_6_maxObject

Returns the value of attribute omega_6_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def omega_6_max
  @omega_6_max
end

#panthothenicObject

Returns the value of attribute panthothenic.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def panthothenic
  @panthothenic
end

#panthothenic_maxObject

Returns the value of attribute panthothenic_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def panthothenic_max
  @panthothenic_max
end

#phosphorusObject

Returns the value of attribute phosphorus.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def phosphorus
  @phosphorus
end

#phosphorus_maxObject

Returns the value of attribute phosphorus_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def phosphorus_max
  @phosphorus_max
end

#potassiumObject

Returns the value of attribute potassium.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def potassium
  @potassium
end

#potassium_maxObject

Returns the value of attribute potassium_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def potassium_max
  @potassium_max
end

#proteinObject

Returns the value of attribute protein.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def protein
  @protein
end

#protein_maxObject

Returns the value of attribute protein_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def protein_max
  @protein_max
end

#riboflavinObject

Returns the value of attribute riboflavin.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def riboflavin
  @riboflavin
end

#riboflavin_maxObject

Returns the value of attribute riboflavin_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def riboflavin_max
  @riboflavin_max
end

#seliniumObject

Returns the value of attribute selinium.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def selinium
  @selinium
end

#selinium_maxObject

Returns the value of attribute selinium_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def selinium_max
  @selinium_max
end

#sodiumObject

Returns the value of attribute sodium.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def sodium
  @sodium
end

#sodium_maxObject

Returns the value of attribute sodium_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def sodium_max
  @sodium_max
end

#sulfurObject

Returns the value of attribute sulfur.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def sulfur
  @sulfur
end

#sulfur_maxObject

Returns the value of attribute sulfur_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def sulfur_max
  @sulfur_max
end

#thiaminObject

Returns the value of attribute thiamin.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def thiamin
  @thiamin
end

#thiamin_maxObject

Returns the value of attribute thiamin_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def thiamin_max
  @thiamin_max
end

#vitamin_aObject

Returns the value of attribute vitamin_a.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_a
  @vitamin_a
end

#vitamin_a_maxObject

Returns the value of attribute vitamin_a_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_a_max
  @vitamin_a_max
end

#vitamin_b12Object

Returns the value of attribute vitamin_b12.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_b12
  @vitamin_b12
end

#vitamin_b12_maxObject

Returns the value of attribute vitamin_b12_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_b12_max
  @vitamin_b12_max
end

#vitamin_b6Object

Returns the value of attribute vitamin_b6.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_b6
  @vitamin_b6
end

#vitamin_b6_maxObject

Returns the value of attribute vitamin_b6_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_b6_max
  @vitamin_b6_max
end

#vitamin_cObject

Returns the value of attribute vitamin_c.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_c
  @vitamin_c
end

#vitamin_c_maxObject

Returns the value of attribute vitamin_c_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_c_max
  @vitamin_c_max
end

#vitamin_dObject

Returns the value of attribute vitamin_d.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_d
  @vitamin_d
end

#vitamin_d_maxObject

Returns the value of attribute vitamin_d_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_d_max
  @vitamin_d_max
end

#vitamin_eObject

Returns the value of attribute vitamin_e.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_e
  @vitamin_e
end

#vitamin_e_maxObject

Returns the value of attribute vitamin_e_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_e_max
  @vitamin_e_max
end

#vitamin_kObject

Returns the value of attribute vitamin_k.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_k
  @vitamin_k
end

#vitamin_k_maxObject

Returns the value of attribute vitamin_k_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def vitamin_k_max
  @vitamin_k_max
end

#zincObject

Returns the value of attribute zinc.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def zinc
  @zinc
end

#zinc_maxObject

Returns the value of attribute zinc_max.



3
4
5
# File 'lib/zutat/nutrient-targets.rb', line 3

def zinc_max
  @zinc_max
end