Class: VagrantLaravel::Config
- Inherits:
-
Object
- Object
- VagrantLaravel::Config
- Defined in:
- lib/vagrant_laravel/config.rb
Instance Attribute Summary collapse
-
#install_path ⇒ Object
Returns the value of attribute install_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.
6 7 8 |
# File 'lib/vagrant_laravel/config.rb', line 6 def initialize() @install_path = UNSET_VALUE end |
Instance Attribute Details
#install_path ⇒ Object
Returns the value of attribute install_path.
4 5 6 |
# File 'lib/vagrant_laravel/config.rb', line 4 def install_path @install_path end |
Instance Method Details
#finalize! ⇒ Object
10 11 12 |
# File 'lib/vagrant_laravel/config.rb', line 10 def finalize! @install_path = "/var/www" if @install_path == UNSET_VALUE end |