RubyFlow The Ruby and Rails community linklog

Released AS::Duration

I’ve just released AS::Duration, which is an extraction of ActiveSupport::Duration. If you’re in a non-Rails project, and you want the lovely 2.days.ago and 1.month.from_now syntax (but without having to pull in ActiveSupport), this gem is for you!

Comments

Thanks, great idea!

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