Class: Ppl::Format::Contact::PhoneNumber
- Inherits:
-
Ppl::Format::Contact
- Object
- Ppl::Format::Contact
- Ppl::Format::Contact::PhoneNumber
- Defined in:
- lib/ppl/format/contact/phone_number.rb
Instance Method Summary collapse
Instance Method Details
#process(contact) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/ppl/format/contact/phone_number.rb', line 4 def process(contact) output = "" if !contact.phone_number.nil? output += contact.phone_number end return output end |