Sha256: be900cbabc6fa201d14e805d906850a36225abbaa33dce97f56deece4d3e123f
Contents?: true
Size: 274 Bytes
Versions: 1
Compression:
Stored size: 274 Bytes
Contents
require "./lib/dieta/menu.rb" class Menu_edades < Menu attr_reader :edad def initialize(edad, titulo, porcentaje, platos, vct, porcentaje_pgh) super(titulo, porcentaje, platos, vct, porcentaje_pgh) @edad=edad end def to_s aux="Edad: #{@edad}\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_edades.rb |