# File lib/dm-core/support/ext/module.rb, line 5
    def self.find_const(mod, const_name)
      if const_name[0..1] == '::'
        DataMapper::Ext::Object.full_const_get(const_name[2..-1])
      else
        nested_const_lookup(mod, const_name)
      end
    end