class PeopleCompatible::Woman

Public Instance Methods

avg_life() click to toggle source
# File lib/people_compatible/woman.rb, line 5
def avg_life
  74
end
can_marry?(person) click to toggle source
Calls superclass method PeopleCompatible::Person#can_marry?
# File lib/people_compatible/woman.rb, line 9
def can_marry?(person)
  super

  @can_marry.nil? ? age >= 17 : @can_marry
end