cassiomarques/enumerate_it — pull request #24 by sobrinho (2012-05-31 14:34:53+00:00)
Title: Respect superclass enumerations on subclasses

Previously, this was the behavior:

``` ruby
class Unico::Person
has_enumeration_for :gender
end

class Person < Unico::Person
end

Unico::Person.enumerations
# => {:gender => Gender}

Person.enumerations
# => {}
```

After this commit, subclasses will inherit the superclass enumerations:

``` ruby
class Unico::Person
has_enumeration_for :gender
end

class Person < Unico::Person
end

Unico::Person.enumerations
# => {:gender => Gender}

Person.enumerations
# => {:gender => Gender}
```