Class: Goldencobra::Author
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Goldencobra::Author
- Defined in:
- app/models/goldencobra/author.rb
Instance Method Summary collapse
Instance Method Details
#title ⇒ Object
6 7 8 |
# File 'app/models/goldencobra/author.rb', line 6 def title [self.try(:firstname),self.try(:lastname)].join(" ") end |