module Able::Fullnameable

Public Instance Methods

full_name() click to toggle source
# File lib/able/fullnameable.rb, line 4
def full_name
  "#{first_name} #{last_name}".split(' ').map(&:capitalize).join(' ')
end
to_s() click to toggle source
# File lib/able/fullnameable.rb, line 8
def to_s
  full_name
end