class PeopleCompatible::Man

Public Instance Methods

avg_life() click to toggle source
# File lib/people_compatible/man.rb, line 6
def avg_life
  62
end
can_marry?(person) click to toggle source
Calls superclass method
# File lib/people_compatible/man.rb, line 10
def can_marry?(person)
  super

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