RubyFlow The Ruby and Rails community linklog

enums 1.0 library / gem - safe enumeration types for ruby

Hello, I’ve put together a new enums library / gem for safe enumeration types in ruby. Yes, enums are just a set of symbolic keys bound to unique integer numbers. Why not just use symbols :-) or constants? Do we really need a new enum type and (yet another) library? Good point. Let the ruby meta-programming magic work for you :-). Cheers. Prost. PS: The new enums 1.0 library is part of the safe data structures series.

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