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!

Simple gem for writing conditionals with dates and time

https://github.com/Szeliga/time-predicates - when debugging legacy code or introducing myself to a new codebase, I always have struggled with figuring out which date is in the future and when the condition is going to be fulfilled. So I wrote this gem to provide easy to read predicates for Date and Time objects.

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