method
autoload_under
v4.2.7 -
Show latest stable
- Class:
ActiveSupport::Autoload
autoload_under(path)public
No documentation available.
# File activesupport/lib/active_support/dependencies/autoload.rb, line 48
def autoload_under(path)
@_under_path, old_path = path, @_under_path
yield
ensure
@_under_path = old_path
end