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.



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

def initialize
  @contacts = []
end

Instance Attribute Details

#contactsObject

Returns the value of attribute contacts.



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

def contacts
  @contacts
end