lib/neovim/remote_object.rb in neovim-0.5.1 vs lib/neovim/remote_object.rb in neovim-0.6.0

- old
+ new

@@ -5,13 +5,13 @@ # @see Window # @see Tabpage class RemoteObject attr_reader :index - def initialize(index, session) + def initialize(index, session, api) @index = index @session = session - @api = session.api + @api = api end # Serialize object to MessagePack. # # @param packer [MessagePack::Packer]