Skip to content

helenlam100/collectionassess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

collections-assessment

In a ruby file construct an array of student data hashes. Each student hash should contain:

  • first name
  • last name
  • email
  • class

for each student in the class.

Data:

First Name    | Last Name     |   Email                 | Class
  ------------------------------------------------------------------------------
  John            Foley             john@gschool.it         Beginning snark
  Sylwester       Kelsey            sellie@gmail.com        Ruby Immersive
  Timothy         Rama              tim.rama@gmail.com      Ruby Immersive
  Kane            Baccigalupi       kane@gschool.it         C for dummies
  Nikita          Theodosius        nikita.theo@gmail.com   Ruby Immersive
  Roddy           Eldred            roddy.el@gmail.com      Ruby Immersive
  Martha          Berner            martha@gschool.it       Time travel for beginners
  Kofi            Thomas            k.thomas@hotmail.com    Ruby Immersive

You can copy and paste text values from the file, but are not allowed to copy and paste hashes or other syntax elements.

About

Organizing data using a few hashes inside an array.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages