Class: Fruta
Overview
Class Fruta Defines fruits
Instance Attribute Summary
Attributes inherited from Alimento
#glucids, #lipids, #name, #proteins
Instance Method Summary collapse
-
#initialize(name, proteins, glucids, lipids) ⇒ Fruta
constructor
Initialization of the object given its attributes.
Methods inherited from Alimento
Constructor Details
#initialize(name, proteins, glucids, lipids) ⇒ Fruta
Initialization of the object given its attributes
162 163 164 |
# File 'lib/nutrientes/alimento.rb', line 162 def initialize(name, proteins, glucids, lipids) super(name, proteins, glucids, lipids) end |