Method: Neovim::RemoteObject#==

Defined in:
lib/neovim/remote_object.rb

#==(other) ⇒ Object

Extend == to only look at class and index.

[View source] [View on GitHub]

46
47
48
# File 'lib/neovim/remote_object.rb', line 46

def ==(other)
  other.class.equal?(self.class) && @index == other.index
end