Class: User

Inherits:
ApplicationRecord
  • Object
show all
Includes:
ActionText::Attachable, Polivalente::Archiver, Polivalente::Commentator, Polivalente::Reactor, Polivalente::Sortable, Polivalente::Trasher
Defined in:
lib/generators/polivalente/templates/user.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#nameObject



51
52
53
# File 'lib/generators/polivalente/templates/user.rb', line 51

def name
  "#{first_name} #{last_name}"
end