lib/build/files/path.rb in build-files-0.3.3 vs lib/build/files/path.rb in build-files-0.3.4
- old
+ new
@@ -86,18 +86,9 @@
def basename
self.components.last
end
- # Ensure the path has an absolute root if it doesn't already:
- def to_absolute(root)
- if @root == "."
- self.rebase(root)
- else
- self
- end
- end
-
attr :root
attr :full_path
def length
@full_path.length