Class: Passenger

Inherits:
Object show all
Defined in:
lib/models/passenger.rb

Instance Method Summary collapse

Instance Method Details

#genderObject



19
20
21
# File 'lib/models/passenger.rb', line 19

def gender
  male_female == 0 ? 'Male' : 'Female' 
end