class Verdura
Class Verdura
Defines vegetables
Public Class Methods
new(name, proteins, glucids, lipids)
click to toggle source
Initialization of the object given its attributes @param name [String] Name of the Alimento
@param proteins [Fixnum] Proteins ammount of the Alimento
@param glucids [Fixnum] Glucids ammount of the Alimento
@param lipids [Fixnum] Lipids ammount of the Alimento
Calls superclass method
Alimento::new
# File lib/nutrientes/alimento.rb, line 149 def initialize(name, proteins, glucids, lipids) super(name, proteins, glucids, lipids) end