RubyGems Navigation menu

enum_class 0.1.2

Provides a lightweight solution for object-oriented enumerations in Ruby in a similar ways as other languages, like Java, do. It consists of a single class (Enum), that can be subclassed to create enumerated types. Each class has a set of predefined instances, that represent the enumerated values. Fatures like support for inheritance and declaring instance methods on enumerated values are supported as well.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.1.2 - April 19, 2017 (11,5 KB)
  2. 0.1.1 - April 19, 2017 (11 KB)
  3. 0.1.0 - April 19, 2017 (10,5 KB)

Development Abhängigkeiten (5):

bundler ~> 1.12
coveralls >= 0
pry >= 0
rake ~> 10.0
rspec ~> 3.0

Besitzer:

Autoren:

  • Michele Piccirillo

SHA 256-Prüfsumme:

bb7456d2412867d560894aa2b96daf2b91947f0e4dba3b6768614ae83cd7d8bd

Downloads insgesamt 10.920

Für diese Version 7.460

Lizenz:

MIT

Erforderliche Ruby-Version: ~> 2.0

Links: