Class: Ppl::Format::Contact::Name

Inherits:
Ppl::Format::Contact show all
Defined in:
lib/ppl/format/contact/name.rb

Instance Method Summary collapse

Instance Method Details

#process(contact) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/ppl/format/contact/name.rb', line 4

def process(contact)
  output = ""

  if !contact.name.nil?
    output += contact.name
  end

  return output
end