load_dependency(file) 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/dependencies.rb, line 223
      def load_dependency(file)
        if Dependencies.load?
          Dependencies.new_constants_in(Object) { yield }.presence
        else
          yield
        end
      rescue Exception => exception  # errors from loading file
        exception.blame_file! file
        raise
      end
Register or log in to add new notes.