r/ruby•
cray4K

Another week, another gem I've written. Looking for critiques.

This time, I decided to implement something like ActiveSupport::Numeric#seconds, since I wanted the functionality when working with EventMachine but didn't want to bring in ActiveSupport. This is my first time really using metaprogramming in Ruby. Very enjoyable experience.

https://github.com/craysiii/length_of_time

Posted Feb 13, 2018, 10:33 AM UTC

32
Loading comments…