Method: Pathname#==

Defined in:
lib/pik/core_ext/pathname.rb

#==(other) ⇒ Object



25
26
27
28
29
30
# File 'lib/pik/core_ext/pathname.rb', line 25

def ==(other)
  return false unless Pathname === other
  self_ = self.dup.to_ruby.downcase
  other = other.dup.to_ruby.downcase
  self_ == other
end