class Guard::RSpec::Inspectors::KeepingInspector

def _location_path(location)

Extract file path from location
def _location_path(location)
  location.match(%r{^(\./)?(.*?)(:\d+)?$})[2]
end