Class: OvoLacteo
Overview
Class OvoLacteo Defines an Alimento (or food) derived from milk or eggs
Instance Attribute Summary
Attributes inherited from Alimento
#glucids, #lipids, #name, #proteins
Instance Method Summary collapse
-
#initialize(name, proteins, glucids, lipids) ⇒ OvoLacteo
constructor
Initialization of the object given its attributes.
Methods inherited from Alimento
Constructor Details
#initialize(name, proteins, glucids, lipids) ⇒ OvoLacteo
Initialization of the object given its attributes
84 85 86 |
# File 'lib/nutrientes/alimento.rb', line 84 def initialize(name, proteins, glucids, lipids) super(name, proteins, glucids, lipids) end |