# File lib/rspec/mocks/mutate_const.rb, line 42 def constants_defined_on(mod) mod.constants.select { |c| const_defined_on?(mod, c) } end