Flowdock
method

load_dependency

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActiveSupport::Dependencies::Loadable
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 232
      def load_dependency(file)
        if Dependencies.load? && ActiveSupport::Dependencies.constant_watch_stack.watching?
          Dependencies.new_constants_in(Object) { yield }
        else
          yield
        end
      rescue Exception => exception  # errors from loading file
        exception.blame_file! file
        raise
      end
Register or log in to add new notes.