RubyGems.org

cenum

0.1

This project is an attempt to provide c-style enums for ruby. It's obviously impossible (and not even desirable) to capture the exact syntax and semantics of c's enums in a ruby implementation, but the major capabilities and usage patterns are supported.

installgem install cenum
Authors

Shane Gibbons

1,385 total downloads 1,385 for this version
Owners

70515f2cc2f5fbccdeb91f3adf429b33

Gemfile
gem 'cenum', '~> 0.1'
Versions
  1. 0.1 June 12, 2011 (6.5 KB)