Class: Ppl::Entity::AddressBook

Inherits:
Object
  • Object
show all
Defined in:
lib/ppl/entity/address_book.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAddressBook

Returns a new instance of AddressBook.



5
6
7
# File 'lib/ppl/entity/address_book.rb', line 5

def initialize
  @contacts = []
end

Instance Attribute Details

#contactsObject

Returns the value of attribute contacts.



3
4
5
# File 'lib/ppl/entity/address_book.rb', line 3

def contacts
  @contacts
end