RubyFlow The Ruby and Rails community linklog

The clever hack that makes `items.map(&:name)` work

Ruby’s “ampersand colon” isn’t an operator. I wrote a quick blog post explaining how it works under the hood: http://blog.honeybadger.io/how-ruby-ampersand-colon-works/

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