method
load_once_path?
v3.2.13 -
Show latest stable
- Class:
ActiveSupport::Dependencies
load_once_path?(path)public
No documentation available.
# File activesupport/lib/active_support/dependencies.rb, line 436
def load_once_path?(path)
# to_s works around a ruby1.9 issue where #starts_with?(Pathname) will always return false
autoload_once_paths.any? { |base| path.starts_with? base.to_s }
end