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.
5 6 7 |
# File 'lib/ppl/entity/address_book.rb', line 5 def initialize @contacts = [] end |
Instance Attribute Details
#contacts ⇒ Object
Returns the value of attribute contacts.
3 4 5 |
# File 'lib/ppl/entity/address_book.rb', line 3 def contacts @contacts end |