class OvoLacteo
Class OvoLacteo
Defines an Alimento
(or food) derived from milk or eggs
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 84 def initialize(name, proteins, glucids, lipids) super(name, proteins, glucids, lipids) end