Class: Neovim::Message::Notification Private

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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



56
57
58
# File 'lib/neovim/message.rb', line 56

def arguments
  @arguments
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



56
57
58
# File 'lib/neovim/message.rb', line 56

def method_name
  @method_name
end

Instance Method Details

#received(_) {|_self| ... } ⇒ Object

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.

Yields:

  • (_self)

Yield Parameters:



61
62
63
# File 'lib/neovim/message.rb', line 61

def received(_)
  yield self
end

#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)


65
66
67
# File 'lib/neovim/message.rb', line 65

def sync?
  false
end

#to_aObject

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.



57
58
59
# File 'lib/neovim/message.rb', line 57

def to_a
  [2, method_name, arguments]
end