Class: VagrantWorkspace::Config
- Inherits:
-
Object
- Object
- VagrantWorkspace::Config
- Defined in:
- lib/vagrant_workspace/config.rb
Instance Attribute Summary collapse
-
#absolute_path ⇒ Object
Returns the value of attribute absolute_path.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_path ⇒ Object
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 |