Skip to content

ren/ruby-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

YAML Parsing

Parse music.yml so that we can access it in Ruby.

Your parsing code should return an object that allows you to access attributes using the [] operator:

data["genres"].last["artists"].first["albums"].first["tracks"].last["name"] => "But Not For Me"

The returned object should also allow you to access attributes using method calls:

data.genres.last.artists.first.albums.first.tracks.last.name => "But Not For Me"

Bonus points for corresponding test suite and WIP commits to show your thought process.

Finished?

Please submit back via pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published