Class: Ppl::Entity::AddressBook
- Inherits:
-
Object
- Object
- Ppl::Entity::AddressBook
- Defined in:
- lib/ppl/entity/address_book.rb
Instance Attribute Summary collapse
-
#contacts ⇒ Object
Returns the value of attribute contacts.
Instance Method Summary collapse
-
#initialize ⇒ AddressBook
constructor
A new instance of AddressBook.
Constructor Details
#initialize ⇒ AddressBook
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
#contacts ⇒ Object
Returns the value of attribute contacts.
4 5 6 |
# File 'lib/ppl/entity/address_book.rb', line 4 def contacts @contacts end |