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