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