Module: ActiveSupport::Dependencies

Defined in:
lib/active_support/slices/dependencies.rb

Instance Method Summary collapse

Instance Method Details

#require_or_load_with_slices(*args) ⇒ Object



5
6
7
8
9
# File 'lib/active_support/slices/dependencies.rb', line 5

def require_or_load_with_slices(*args)
  require_or_load_without_slices(*args).tap do |result|
    Slices.load(args.first) if result
  end
end