Method: DietaDSL#porcentajes_

Defined in:
lib/gema/dietadsl.rb

#porcentajes_(opciones = {}) ⇒ Object



106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/gema/dietadsl.rb', line 106

def porcentajes_(opciones={})
	@vct = opciones[:vct] if opciones[:vct]
	proteinas = ""
	grasas = ""
	hidratos=""
	proteinas = opciones[:proteinas] if opciones[:proteinas]
	grasas = opciones[:grasas] if opciones[:grasas]
	hidratos = opciones[:hidratos] if opciones[:hidratos]
	@porcentajes.push(proteinas)
	@porcentajes.push(grasas)
	@porcentajes.push(hidratos)


end