module OpenStax

See the README

Copyright 2011-2012 Rice University. Licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file for details.

Copyright 2011-2012 Rice University. Licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file for details.

A class for enum values

Usage: class SomeClass < OpenStax::Utilities::Enum

SOME_CONSTANT = 0
ANOTHER_CONSTANT = 1

end

Note: do not use the same value more than once, or else only the last occurrence will be used when searching by value.