Class: Vagrant::Environment
- Inherits:
-
Object
- Object
- Vagrant::Environment
- Defined in:
- lib/vagrant_init.rb
Instance Method Summary collapse
Instance Method Details
#boxes_path ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/vagrant_init.rb', line 14 def boxes_path Pathname.new( %W[/var/lib/vagrant/boxes #{original_boxes_path}].each do |path| break path if File.exists?(path) and File.directory?(path) and File.writable?(path) end ) end |
#original_boxes_path ⇒ Object
13 |
# File 'lib/vagrant_init.rb', line 13 alias_method :original_boxes_path, :boxes_path |