class MenuAge

@author Daniel Darias Sánchez <alu0100783230@ull.edu.es>

Attributes

age[R]

Public Class Methods

new(title, porcentage, content, age) click to toggle source
Calls superclass method Menu::new
# File lib/Prct07/MenuAge.rb, line 5
def initialize(title, porcentage, content, age)
  super(title, porcentage, content)
  @age = age
end

Public Instance Methods

ownMethod() click to toggle source

used for TDD expectatives

# File lib/Prct07/MenuAge.rb, line 11
def ownMethod
  true
end