Method: DEBUGGER__.compare_path

Defined in:
lib/debug/session.rb,
lib/debug/session.rb

.compare_path(a, b) ⇒ Object

For case insensitive file system (like Windows) Note that this check is not enough because case sensitive/insensitive is depend on the file system. So this check is only roughly estimation.



2441
2442
2443
# File 'lib/debug/session.rb', line 2441

def self.compare_path(a, b)
  a&.downcase == b&.downcase
end