Sha256: 2e420c9c4b70d2ece92371d6d947c7efbc0063d2dcb1ef1e22e3c4a92ab9934e
Contents?: true
Size: 580 Bytes
Versions: 1
Compression:
Stored size: 580 Bytes
Contents
Ruby::Enum ========== [![Build Status](https://travis-ci.org/dblock/ruby-enum.png)](https://travis-ci.org/dblock/ruby-enum) A handy library for defining enums in Ruby. ### Usage ``` ruby class Colors include Ruby::Enum define :RED, "red" define :GREEN, "green" end ``` ### Contributing You're encouraged to contribute to this gem. * Fork this project. * Make changes, write tests. * Updated CHANGELOG. * Make a pull request, bonus points for topic branches. ### Copyright and License Copyright Daniel Doubrovkine and Contributors, 2013 [MIT License](LICENSE.md)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-enum-0.1.0 | README.md |