No site found for codelikethis.herokuapp.com; using CodeLikeThis content.
Slides
Extra Fun Ruby Stuff
We've gone over the basics, but Ruby has lots of other language features. Here's a quick overview, with links to more info about them.
Iterators are special loops that act on all the items in a collection.
Blocks are like a cross between functions and methods. They allow Ruby to express many powerful algorithms in a compact writing style.
Symbols are like strings that start with a colon, and they're used all over the place.
Chaining is a compact way to express a chain of events. Properly executed, chaining turns Ruby from prose into poetry.
Methods and Classes are the heart of Object-Oriented Programming. They