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