Class: Vagrant::Provisioners::Hostruby

Inherits:
Base
  • Object
show all
Defined in:
lib/vagrant-hostruby.rb

Defined Under Namespace

Classes: Config

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.config_classObject



15
16
17
# File 'lib/vagrant-hostruby.rb', line 15

def self.config_class
  Config
end

Instance Method Details

#cleanupObject



27
28
29
# File 'lib/vagrant-hostruby.rb', line 27

def cleanup
  config.cleanup.call(env) if config.cleanup
end

#prepareObject



19
20
21
# File 'lib/vagrant-hostruby.rb', line 19

def prepare
  config.prepare.call(env) if config.prepare
end

#provision!Object



23
24
25
# File 'lib/vagrant-hostruby.rb', line 23

def provision!
  config.provision.call(env) if config.provision
end