lib/build/files/directory.rb in build-files-0.2.3 vs lib/build/files/directory.rb in build-files-0.2.4
- old
+ new
@@ -48,10 +48,10 @@
yield Path.new(path, @path.root)
end
end
def eql?(other)
- other.kind_of?(self.class) and @path.eql?(other.path)
+ self.class.eql?(other.class) and @path.eql?(other.path)
end
def hash
@path.hash
end