Skip to content

nkalinos/Katy-Perry

Repository files navigation

Hash Basics

Goals

After this exercise, a student will be able to:

  • Create hashes, and perform simple operations on them
  • Add new data to a hash
  • Work with nested hashes

Tech skill learned

  • Ruby hashes

Resources

Instructions

  1. Fork and clone this repo
  2. Look at the data in person.rb
    1. Check out 00_example.rb for an example of what to do (basically, just puts things out
  3. Import the tracker stories in stories.csv and work through them.

Further Practice

This warmup can be completed multiple times to increase your comfort level with the material. To work on this from scratch, you can:

  1. Add an upstream remote that points to the original repo git remote add upstream [email protected]:gSchool/hash-basics.git
  2. Fetch the latest from the upstream remote using git fetch upstream
  3. Create a new branch from the master branch of the upstream remote git checkout -b v2 upstream/master
  4. Implement specs and code
  5. Push using git push -u origin v2

Each time you do the exercise, create a new branch. For example the 3rd time you do the exercise the branch name will be v3 instead of v2.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages