Methods
Attributes
[R] people
Public Class methods
new()
    # File examples/address_book_controller.rb, line 11
11:   def initialize()          @people = [] end
Public Instance methods
create_person(data)
    # File examples/address_book_controller.rb, line 12
12:   def create_person(data)   people.unshift(Person.new(next_person_id, data["name"], data["email_address"], data["phone_number"])) end
find_person(topic_id)
    # File examples/address_book_controller.rb, line 13
13:   def find_person(topic_id) people.select { |person| person.id == person.to_i }.first end
next_person_id()
    # File examples/address_book_controller.rb, line 14
14:   def next_person_id()      people.first.id + 1 end