lib/pa.rb in pa-1.3.1 vs lib/pa.rb in pa-1.3.2

- old
+ new

@@ -104,11 +104,11 @@ else raise ArgumentError, "Pa.get() not support type -- #{obj.inspect}(#{obj.class})" end end - def absolute2(path) - File.absolute_path(get(path), ".") # rbx + def absolute2(name, dir=".") + File.absolute_path(get(name), dir) end # => ".", "..", "/", "c:" # # "foo" => "."