cassiomarques/enumerate_it — pull request #25 by toXXIc (2012-06-21 23:37:33+00:00)
Title: Creating enumerations using predefined constants.

I have implemented ability to create enumerations in different way:

class SomeEnum < EnumerateIt::Base
FIRST = 1
SECOND = 2
associate_values_with_consts
# The same as:
# associate_values :first => 1, :second => 2
end

This way of enum creation allows IDE to parse constants to show them in code autocomplete and to use in code analysis.
Tests added, readme updated.

Thanks for EnumerateIt :).