Method: Path#==

Defined in:
lib/path/identity.rb

#==(other) ⇒ Object Also known as: eql?

Compare this path with other. The comparison is string-based. Be aware that two different paths (foo.txt and ./foo.txt) can refer to the same file.



92
93
94
# File 'lib/path/identity.rb', line 92

def == other
  Path === other and @path == other.path
end