Class: VagrantPlugins::ProviderVirtualBox::Driver::Base::PersistentStorageData

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(controller, port, location, image) ⇒ PersistentStorageData

Returns a new instance of PersistentStorageData.



113
114
115
116
117
118
# File 'lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb', line 113

def initialize(controller,port,location,image)
  @controller = controller
  @port = port
  @location = location
  @image = image
end

Instance Attribute Details

#controllerObject

Returns the value of attribute controller.



108
109
110
# File 'lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb', line 108

def controller
  @controller
end

#imageObject

Returns the value of attribute image.



111
112
113
# File 'lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb', line 111

def image
  @image
end

#locationObject

Returns the value of attribute location.



110
111
112
# File 'lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb', line 110

def location
  @location
end

#portObject

Returns the value of attribute port.



109
110
111
# File 'lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb', line 109

def port
  @port
end