Let Module#const_defined? check Object in 1.9 if search_parents is true #1624

Merged
merged 2 commits into from Mar 19, 2012

Conversation

Projects
None yet
2 participants
@fxn
Contributor

fxn commented Mar 19, 2012

In Ruby 1.9 Module#const_defined? checks the entire ancestors chain, and special-cases modules if search_parents is true. Reported in #1622.

ileitch added a commit that referenced this pull request Mar 19, 2012

Merge pull request #1624 from fxn/master
Let Module#const_defined? check Object in 1.9 if search_parents is true

@ileitch ileitch merged commit f5f8efe into rubinius:master Mar 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment