Sha256: 9993de251ef129ae512dc51a29bf279ad286af853dba4251062ea0f08c91c436

Contents?: true

Size: 532 Bytes

Versions: 4

Compression:

Stored size: 532 Bytes

Contents

module VagrantPlugins
  module CommandServe
    class Client
      class Host < Client
        include CapabilityPlatform
        # Generate callback and spec for required arguments
        #
        # @return [SDK::FuncSpec, Proc]
        def parent_func
          spec = client.parent_spec(Empty.new)
          cb = proc do |args|
            client.parent(args).parent
          end
          [spec, cb]
        end

        # @return [String] parent
        def parent
          run_func
        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/client/host.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/commands/serve/client/host.rb
vagrant-unbundled-2.3.3.0 plugins/commands/serve/client/host.rb
vagrant-unbundled-2.3.2.0 plugins/commands/serve/client/host.rb