Class: LoveMonster::Person
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- LoveMonster::Person
- Defined in:
- app/models/love_monster/person.rb
Instance Method Summary collapse
Instance Method Details
#name_or_email ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/models/love_monster/person.rb', line 11 def name_or_email unless name.nil? name else email end end |