Method: Neovim::ConnectionUnix.open_files

Defined in:
lib/neovim/connection.rb

.open_files(path) ⇒ Object



83
84
85
86
87
88
# File 'lib/neovim/connection.rb', line 83

def open_files path
  require "socket"
  UNIXSocket.open path do |socket|
    yield (new socket, socket)
  end
end