Method: DEBUGGER__.unix_domain_socket_dir

Defined in:
lib/debug/config.rb

.unix_domain_socket_dirObject



510
511
512
513
514
515
516
517
518
519
520
521
# File 'lib/debug/config.rb', line 510

def self.unix_domain_socket_dir
  case
  when path = CONFIG[:sock_dir]
  when path = ENV['XDG_RUNTIME_DIR']
  when path = unix_domain_socket_tmpdir
  when path = unix_domain_socket_homedir
  else
    raise 'specify RUBY_DEBUG_SOCK_DIR environment variable.'
  end

  path
end