Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

Ruby Cheatsheet

By Peter Cooper / April 3, 2007

Rubycheat

Cenophobie has created a Ruby Cheatsheet available in PDF and PNG formats. It's a little old (not out of date) but I hadn't seen it before and it's quite good. It only covers the basic, but is a useful reminder of which methods you have at your disposal on the basic classes like Object, String, Array, and Hash. It also includes a list of the special variables, command line arguments, reserved words, expressions, and so forth.

Comments

  1. Benoit says:

    I'm addicted to http://www.ruby-doc.org/core/ but I'm gonna give a chance to this sexy cheatsheet :)

  2. Valeriu Palos says:

    It's always good to see such cheatsheets for Ruby. Here's a set of 2 (quickrefs) cheatsheets from Ryan Davis; A generic one:
    http://ruby-pdf.rubyforge.org/pdf-writer/demos/Ruby-Language-QuickRef.pdf
    ...and one about Ruby libs:
    http://ruby-pdf.rubyforge.org/pdf-writer/demos/Ruby-Library-QuickRef.pdf

Other Posts to Enjoy

Twitter Mentions