Class: Person
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Person
- Includes:
- ActiveRecord::Mlang
- Defined in:
- app/models/person.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/models/person.rb', line 6 def name if nm = names.first nm.name else nil end end |