Class: Graso
Overview
Class Graso Defines a food with high fat content
Instance Attribute Summary
Attributes inherited from Alimento
#glucids, #lipids, #name, #proteins
Instance Method Summary collapse
-
#initialize(name, proteins, glucids, lipids) ⇒ Graso
constructor
Initialization of the object given its attributes.
Methods inherited from Alimento
Constructor Details
#initialize(name, proteins, glucids, lipids) ⇒ Graso
Initialization of the object given its attributes
123 124 125 |
# File 'lib/nutrientes/alimento.rb', line 123 def initialize(name, proteins, glucids, lipids) super(name, proteins, glucids, lipids) end |