# File lib/rspec/mocks/mutate_const.rb, line 327
        def to_constant
          const = super
          const.stubbed = true
          const.previously_defined = false

          const
        end