Renum 0.0.3
This morning at RubyConf I updated Renum so that when the enum declaration appears inside a class or module, the enum class gets nested appropriately. So this works the way you'd expect.
:FooValue, [ :Bar, :Baz, :Bat ]
end
enum
I also made EnumeratedValue comparable, where the natural ordering matches the array of value names given in the declaration.
Those features are in renum-0.0.3. (renum-0.0.2 was a botched release where I left a new class out of the gem manifest. Apparently I need to improve my pre-release package verification.)
1 comment:
This is great work, congratulations!
Post a Comment