lib/dry/system/container.rb in dry-system-0.14.0 vs lib/dry/system/container.rb in dry-system-0.14.1
- old
+ new
@@ -493,10 +493,10 @@
# @api public
def require_from_root(*paths)
paths.flat_map { |path|
path.to_s.include?('*') ? ::Dir[root.join(path)].sort : root.join(path)
}.each { |path|
- require path.to_s
+ Kernel.require path.to_s
}
end
# Returns container's root path
#