class Vagrant::Plugin::Remote::Guest
Attributes
client[RW]
Public Class Methods
new(*_, **kwargs)
click to toggle source
Calls superclass method
# File lib/vagrant/plugin/remote/guest.rb, line 7 def initialize(*_, **kwargs) @client = kwargs.delete(:client) if @client.nil? raise ArgumentError, "Remote client is required for `#{self.class.name}`" end super end
Public Instance Methods
detect?(machine)
click to toggle source
@return [Boolean]
# File lib/vagrant/plugin/remote/guest.rb, line 17 def detect?(machine) client = machine.client.guest client.detect(machine) end