RubyFlow The Ruby and Rails community linklog

Infinities - INFINITY ∞ for the infinitely lazy

Annoyed by typing Float::INFINITY? Wish you could just use the word or symbol instead? The infinities gem should do the trick.

Comments

A really cute and useful gem. Doesn’t happen really often that I use infinities :P, but I did need it two times so far, and writing Float::INFINITY really annoyed me. Thanks for the gem!

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