lib/build/files/list.rb in build-files-0.2.5 vs lib/build/files/list.rb in build-files-0.2.6
- old
+ new
@@ -38,11 +38,11 @@
# Does this list of files include the path of any other?
def intersects? other
other.any?{|path| include?(path)}
end
- def with(*args)
- return to_enum(:with, *args) unless block_given?
+ def with(**args)
+ return to_enum(:with, **args) unless block_given?
paths = []
each do |path|
updated_path = path.with(args)