Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 939 Bytes

File metadata and controls

33 lines (24 loc) · 939 Bytes
lang EN
title Summary
answer \{\}
class stretcher chapmark
ok Ok, that's an empty hash
error

You're a level six Ruby cleric. I mean what a great job you've done. Let's review:

Data

You loaded some data of the internet, traversed a data structure and selected values.

Iterating

You iterated all elements of a hash and you chained some more methods.

Pretty printing

And if that wasn't enough, you formatted and printed some values in a way that is easy to read for humans. In fact you made a real program!

IF

You learned to take control of your programs with if and else statements.

So

What could possibly be next? What could you possibly have to learn now? Ha, this is the best part. You've come such a long way that we're going to uncover classes. For two more short lessons and you're done.

Earlier, we created a hash like this:

Hash.new