Method: Neovim::API#initialize
- Defined in:
- lib/neovim/api.rb
permalink #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.
6 7 8 |
# File 'lib/neovim/api.rb', line 6 def initialize(payload) @channel_id, @api_info = payload end |