Class: Neovim::HandlerPlain

Inherits:
Handler show all
Defined in:
lib/neovim/handler.rb

Instance Attribute Summary

Attributes inherited from Handler

#spec

Instance Method Summary collapse

Methods inherited from Handler

#execute, #name, #opts, #sync

Constructor Details

#initialize(*args, **kwargs) ⇒ HandlerPlain

Returns a new instance of HandlerPlain.



53
54
55
56
57
# File 'lib/neovim/handler.rb', line 53

def initialize *args, **kwargs
  super *args, **kwargs do |client,*a|
    yield *a
  end
end

Instance Method Details

#needs_client?Boolean

Returns:

  • (Boolean)


59
# File 'lib/neovim/handler.rb', line 59

def needs_client? ; false ; end