Method: Neovim::RemoteObject.new
- Defined in:
- lib/neovim/remote_object.rb
.new(index, client) ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/neovim/remote_object.rb', line 47 def new index, client @objs ||= [] i = @objs.find { |s| s.index == index && s.client == client } unless i then i = plain_new index, client @objs.push i end i end |