Closed franzejr closed 8 years ago
This looks more like a trick to me. But i like the content, no matter where it goes :+1:
Yeah..I was trying to think if it's considered a trick or idiomatic ruby.
I'd definitely say trick. I probably wouldn't use this in a real life project, but it's definitely interesting thing to know about :+1:
I agree! Changed. @filipebarcos @MarcosX
perfect! :+1:
Some contributor want to review this? It's considered an idiomatic Ruby code ? Seeing the definition we have:
With this, I think, we are taking advantage of Ruby and writing something more clean/idiomatic code, even though it's not in Ruby core .