Skip to content
TheNorthEesternPublic
forked from dblock/ruby-enum

About

A handy way to define enums in Ruby.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Ruby::Enum

Build Status

A handy library for defining enums in Ruby.

Usage

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

About

A handy way to define enums in Ruby.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages