lib/tomograph/path.rb in tomograph-3.1.2 vs lib/tomograph/path.rb in tomograph-3.1.3
- old
+ new
@@ -30,10 +30,10 @@
def to_s
@path
end
def ==(other)
- other.instance_of? self.class and other.path == path
+ other.instance_of?(self.class) && (other.path == path)
end
private
def delete_till_the_end(beginning_with)