RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ruby’s case statement uses ===

I’ve not found this stated clearly enough elsewhere so I’m doing so myself. Ruby’s case statement calls the === method on the argument to each of the when statements Some explanation and examples (and quirks) in my blog post about it here.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in