Class: VagrantPlugins::ProviderVirtualBox::Driver::Base::PersistentStorageData
- Inherits:
-
Object
- Object
- VagrantPlugins::ProviderVirtualBox::Driver::Base::PersistentStorageData
- Defined in:
- lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb
Instance Attribute Summary collapse
-
#controller ⇒ Object
Returns the value of attribute controller.
-
#image ⇒ Object
Returns the value of attribute image.
-
#location ⇒ Object
Returns the value of attribute location.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize(controller, port, location, image) ⇒ PersistentStorageData
constructor
A new instance of PersistentStorageData.
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
#controller ⇒ Object
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 |
#image ⇒ Object
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 |
#location ⇒ Object
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 |
#port ⇒ Object
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 |