Class: VagrantLaravel::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_pathObject

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