lib/dietaDia.rb in nutrientesEugenio-0.2.0 vs lib/dietaDia.rb in nutrientesEugenio-0.2.2

- old
+ new

@@ -76,10 +76,10 @@ def desayuno(options = {}) porcion = 0 @conversiones.each do |x| porcion = x[1] if x[0] == options[:porcion] - endnaranja peso medionaranja peso medio + end multiplier = porcion / options[:gramos] @desayuno.push_head(Alimento.new(options[:descripcion],options[:grasas] * multiplier,0,options[:carbohidratos] * multiplier,0,options[:proteinas] * multiplier,options[:sal] * multiplier)) end #AƱade un almuerzo \ No newline at end of file