Class: Neovim::ConnectionUnix

Inherits:
Connection show all
Defined in:
lib/neovim/connection.rb

Constant Summary

Constants included from Logging

Logging::DEFAULT_LEVEL, Logging::LEVELS

Instance Attribute Summary

Attributes inherited from Connection

#client

Class Method Summary collapse

Methods inherited from Connection

#additional_data, #error, #initialize, #start

Methods included from Logging

put

Constructor Details

This class inherits a constructor from Neovim::Connection

Class Method Details

.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