Class: Neovim::Host::Loader Private
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
-
#initialize(host) ⇒ Loader
constructor
private
A new instance of Loader.
- #load(paths) ⇒ Object private
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 |