Sha256: f5fd8b5a2fd28e0e31578fa0dcd400d02b4725b225a726fa355388ecb6a21a82
Contents?: true
Size: 359 Bytes
Versions: 1
Compression:
Stored size: 359 Bytes
Contents
require "./lib/dieta/menu.rb" class Menu_alimentos < Menu attr_reader :alimentos def initialize(alimentos, titulo, porcentaje, platos, vct, porcentaje_pgh) super(titulo, porcentaje, platos, vct, porcentaje_pgh) @alimentos=alimentos end def to_s aux="Grupo de alimentos: #{@alimentos}\n" aux+= super() end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dieta_alu0100885941-0.1.0 | lib/dieta/menu_alimentos.rb |