Flowdock
method

qualified_const_defined?

Importance_0
v3.2.3 - Show latest stable - 0 notes - Class: Module
qualified_const_defined?(path) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/module/qualified_const.rb, line 27
    def qualified_const_defined?(path)
      QualifiedConstUtils.raise_if_absolute(path)

      QualifiedConstUtils.names(path).inject(self) do |mod, name|
        return unless mod.const_defined?(name)
        mod.const_get(name)
      end
      return true
    end
Register or log in to add new notes.