Class: Neovim::ConnectionTcp
- Inherits:
-
Connection
- Object
- MPLight::Types
- Connection
- Neovim::ConnectionTcp
- Defined in:
- lib/neovim/connection.rb
Constant Summary
Constants included from Logging
Logging::DEFAULT_LEVEL, Logging::LEVELS
Instance Attribute Summary
Attributes inherited from Connection
Class Method Summary collapse
Methods inherited from Connection
#additional_data, #error, #initialize, #start
Methods included from Logging
Constructor Details
This class inherits a constructor from Neovim::Connection
Class Method Details
.open_files(host, port) ⇒ Object
72 73 74 75 76 77 |
# File 'lib/neovim/connection.rb', line 72 def open_files host, port require "socket" TCPSocket.open host, port do |socket| yield (new socket, socket) end end |