lib/ronin/path.rb in ronin-support-0.5.0 vs lib/ronin/path.rb in ronin-support-0.5.1

- old
+ new

@@ -85,12 +85,12 @@ path = new('..') path.separator = separator dirs = (['..'] * (n-1)) - return Path.new(path.join(*dirs)) + Path.new(path.join(*dirs)) when Enumerable - return n.map { |i| up(i) } + n.map { |i| up(i) } else raise(ArgumentError,"The first argument of Path.up must be either an Integer or Enumerable") end end