RubyGems Navigation menu

enum 1.0.0

A java like Enum class for ruby. A while ago I was exploring Java, and came across the Enum class, which had some interesting functionality, and I decided that I would like something like it. Conceptually if you just need a unique identifier you may be perfectly happy using a :symbol, and that would likely be a simpler way of having a controll flag. However, if you want to have a set of unique identifiers that you can address, iterate over, assign properties to, etc, then this may be something you would be interested in.

Versions:

  1. 1.0.0 - September 14, 2010 (8 KB)
  2. 0.1.1 - September 10, 2010 (4 KB)

Development Dependencies (2):

Authors:

  • capnregex

Owners:

2cb9c565daaf807b3876ec93753410b0

SHA 256 checksum:

8061d77037751dbd1df300cfb1a19c8f5806885a3c10ec2fb8bf6dc65686e98c

Total downloads 6,451

For this version 4,232

Gemfile:
= Copy to clipboard Copied!

install:
=

Licenses:

N/A

Required Ruby Version: None

Links: