Ruby Build an Address Book in Ruby Input and Output Searching the Address Book

Bummer: Try Again

Argument problem

address_book.rb
class AddressBook
  def search(name)
    @name=name
    find_by()
    find_by_name("fghj")
    find_by_address("sdfghj")
    find_by_phone_number("6568656")
  end
end

address_book = AddressBook.new

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 51,979 Points

Remove find_by(). It wasn't included in the task.