Class: Neovim::Notification Private

Inherits:
Object
  • Object
show all
Defined in:
lib/neovim/notification.rb

Overview

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

An asynchronous message from nvim.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name, args) ⇒ Notification

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 Notification.



7
8
9
10
# File 'lib/neovim/notification.rb', line 7

def initialize(method_name, args)
  @method_name = method_name.to_s
  @arguments = args
end

Instance Attribute Details

#argumentsObject (readonly)

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.



5
6
7
# File 'lib/neovim/notification.rb', line 5

def arguments
  @arguments
end

#method_nameObject (readonly)

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.



5
6
7
# File 'lib/neovim/notification.rb', line 5

def method_name
  @method_name
end

Instance Method Details

#sync?Boolean

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:

  • (Boolean)


12
13
14
# File 'lib/neovim/notification.rb', line 12

def sync?
  false
end