Class: Author

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/author.rb

Instance Method Summary collapse

Instance Method Details

#fullnameObject


9
10
11
# File 'app/models/author.rb', line 9

def fullname
  [firstname, lastname].join(' ')
end