Class: Neovim::Host::Loader Private

Inherits:
Object
  • Object
show all
Defined in:
lib/neovim/host/loader.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 Method Summary collapse

Constructor Details

#initialize(host) ⇒ Loader

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 a new instance of Loader


7
8
9
# File 'lib/neovim/host/loader.rb', line 7

def initialize(host)
  @host = host
end

Instance Method Details

#load(paths) ⇒ 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.


11
12
13
14
15
16
17
# File 'lib/neovim/host/loader.rb', line 11

def load(paths)
  paths.each do |path|
    override_plugin_method(path) do
      Kernel.load(path, true)
    end
  end
end