Class: Neovim::Message::Request Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/neovim/message.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.

API:

  • private

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments

Returns:

  • the current value of arguments



32
33
34
# File 'lib/neovim/message.rb', line 32

def arguments
  @arguments
end

#idObject

Returns the value of attribute id

Returns:

  • the current value of id



32
33
34
# File 'lib/neovim/message.rb', line 32

def id
  @id
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • the current value of method_name



32
33
34
# File 'lib/neovim/message.rb', line 32

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:

API:

  • private



37
38
39
# File 'lib/neovim/message.rb', line 37

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:

API:

  • private



41
42
43
# File 'lib/neovim/message.rb', line 41

def sync?
  true
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.

API:

  • private



33
34
35
# File 'lib/neovim/message.rb', line 33

def to_a
  [0, id, method_name, arguments]
end