Class: Carbohidratado
Overview
Class Carbohidratado Defines food mainly componed by carbohydrates
Instance Attribute Summary
Attributes inherited from Alimento
#glucids, #lipids, #name, #proteins
Instance Method Summary collapse
-
#initialize(name, proteins, glucids, lipids) ⇒ Carbohidratado
constructor
Initialization of the object given its attributes.
Methods inherited from Alimento
Constructor Details
#initialize(name, proteins, glucids, lipids) ⇒ Carbohidratado
Initialization of the object given its attributes
136 137 138 |
# File 'lib/nutrientes/alimento.rb', line 136 def initialize(name, proteins, glucids, lipids) super(name, proteins, glucids, lipids) end |