lib/build/files/path.rb in build-files-0.2.3 vs lib/build/files/path.rb in build-files-0.2.4
- old
+ new
@@ -161,10 +161,10 @@
def hash
[@root, @full_path].hash
end
def eql?(other)
- @root.eql?(other.root) and @full_path.eql?(other.full_path)
+ self.class.eql?(other.class) and @root.eql?(other.root) and @full_path.eql?(other.full_path)
end
def ==(other)
self.to_s == other.to_s
end