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.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.0.0 September 15, 2010 (8KB)
  2. 0.1.1 September 11, 2010 (4KB)

Development依存関係 (2):

hoe >= 2.6.2
rubyforge >= 2.0.4

所有者:

作者:

  • capnregex

SHA 256チェックサム:

=

累計ダウンロード数 51,424

このバージョンのみ 47,489

このバージョンがリリースされたのは:

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: