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!

Unlocking The Power Of Case Equality: Modifying Enumerable To Use Case Equality

A proposed modification to Enumerable to take advantage of the case equality operator allowing methods calls like array.all?{|e| e.instance_of? String}to be expressed as array.all? String.

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