Class: Neovim::Notification Private
- Inherits:
-
Object
- Object
- Neovim::Notification
- 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
- #arguments ⇒ Object readonly private
- #method_name ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(method_name, args) ⇒ Notification
constructor
private
A new instance of Notification.
- #sync? ⇒ Boolean private
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
#arguments ⇒ Object (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_name ⇒ Object (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.
12 13 14 |
# File 'lib/neovim/notification.rb', line 12 def sync? false end |