Class: VagrantWorkspace::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant_workspace/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



5
6
7
# File 'lib/vagrant_workspace/config.rb', line 5

def initialize
  @absolute_path = UNSET_VALUE
end

Instance Attribute Details

#absolute_pathObject

Returns the value of attribute absolute_path.



3
4
5
# File 'lib/vagrant_workspace/config.rb', line 3

def absolute_path
  @absolute_path
end

Instance Method Details

#finalize!Object



9
10
11
# File 'lib/vagrant_workspace/config.rb', line 9

def finalize!
  @absolute_path = '/home/vagrant' if @absolute_path == UNSET_VALUE
end