RubyTapas Freebie: Blocks, Procs, & Lambdas

It’s been way too long since I posted a Monday freebie. Today’s little video tries to answer a question I hear pretty often: what’s the difference between blocks, procs, and lambdas—and which one should I use?

Like what you see? This is just a taste of RubyTapas! Sign up today to get three videos a week, along with full source code and transcripts. Or click here to learn more.
This entry was posted in Ruby, RubyTapas Samples, Screencasts and tagged , , . Bookmark the permalink.
  • http://twitter.com/yanoo_ Jan Dudulski

    Hi Avdi! Nice cast :) What are you using for running ruby in vim?

    • http://avdi.org Avdi Grimm

      xmpfilter, and it’s Emacs, not VIM :-) There’s a (subscription) episode that covers how it’s done.

      • http://twitter.com/yanoo_ Jan Dudulski

        whoa, mea culpa :D