Skip to content

A Treehouse project, using Ruby to create a command-line address book program

Notifications You must be signed in to change notification settings

petdud/ruby-address-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-address-book

A Treehouse project, using Ruby to create a command-line address book program

In this project, which wraps up the Classes and Blocks portion of Treehouse's Ruby track, we were tasked with using OOP principles in Ruby to develop a basic address book. This is the first project I completed with Ruby using Class structures.

TO RUN: Download and execute the file in Terminal by entering ruby address_book.rb.

Classes:
AddressBook: Main class for the address book program. Runs the UI program.
Contact: Class for contact records, containing name/address/phone number variables.
Address: Class for addresses, containing an array of multiple types of addresses.
PhoneNumber: Class for phone numbers, containing an array of multiple types of phone numbers.

Provided files: None
Project duration: About 4 hours

As always, please feel free to create a pull request if you have suggestions on cleaner or more efficient code! :)

About

A Treehouse project, using Ruby to create a command-line address book program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages