Sha256: 33064aa3253b0929bfa3f54a71ca7df20926742f651c62eca68d44e9f5a02b8d

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 Bytes

Contents

module VagrantPlugins
  module CommandServe
    class Mappers
      class PluginManagerFromProto < Mapper
        def initialize
          super(
            inputs: [
              Input.new(type: SDK::Args::PluginManager),
              Input.new(type: Broker),
            ],
            output: Client::PluginManager,
            func: method(:converter)
          )
        end

        def converter(proto, broker)
          Client::PluginManager.load(proto, broker: broker)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/commands/serve/mappers/plugin_manager.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/commands/serve/mappers/plugin_manager.rb
vagrant-unbundled-2.3.3.0 plugins/commands/serve/mappers/plugin_manager.rb
vagrant-unbundled-2.3.2.0 plugins/commands/serve/mappers/plugin_manager.rb