class Graso

Class Graso Defines a food with high fat content

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 123
def initialize(name, proteins, glucids, lipids)
    super(name, proteins, glucids, lipids)
end