RuboCop 0.14: Beyond the Ruby Style Guide
Good news, everyone - RuboCop 0.14 was just released!
Good news, everyone - RuboCop 0.14 was just released!
Recently we discussed how you can use String#gsub with a block. Today we’ll examine another somewhat unknown feature of the gsub method - the ability to supp...
There are whopping 4 ways to invoke a lambda (or a proc) in Ruby:
Most Rubyists know they can use literals, classes, ranges and regular expressions in the when branches of a case expression:
For better or for worse Perl had significant influence over Ruby’s initial design. A lot of things were directly borrowed from Perl, but over the years the R...