Class: Neovim::Message::Request 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


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

def arguments
  @arguments
end

#idObject

Returns the value of attribute id


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

def id
  @id
end

#method_nameObject

Returns the value of attribute 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:


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.


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.


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

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