Method: Neovim::API#initialize

Defined in:
lib/neovim/api.rb

#initialize(payload) ⇒ API

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of API.

[View source] [View on GitHub]

6
7
8
# File 'lib/neovim/api.rb', line 6

def initialize(payload)
  @channel_id, @api_info = payload
end