rubinius/rubinius — pull request #1624 by fxn (2012-03-19 18:48:12+00:00)
Title: Let Module#const_defined? check Object in 1.9 if search_parents is true

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