Class: SpudUser

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

Instance Method Summary collapse

Instance Method Details

#full_nameObject

block optional



10
11
12
13
14
15
# File 'app/models/spud_user.rb', line 10

def full_name
	if first_name.blank? && last_name.blank?
		return self.
	end
	return "#{self.first_name} #{self.last_name}"
end