RubyGems Navigation menu

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.

Gemfile
          gem 'cenum', '~> 0.1'
  
  
  
  
  
  
  

install
          gem install cenum
  
  
  
  
  
  
  

Total downloads 1,481

For this version 1,481

Required Ruby Version: None

Links:

Versions:

  1. 0.1 - June 12, 2011 (6.5 KB)