Module: Vagrant::DSL

Includes:
GenericMixin
Included in:
Rake::DSL
Defined in:
lib/vagrant/dsl.rb,
lib/vagrant/dsl/version.rb

Defined Under Namespace

Modules: GenericMixin Classes: Prison

Constant Summary collapse

VERSION =
"0.1.1"

Instance Attribute Summary

Attributes included from GenericMixin

#env, #ui_class

Instance Method Summary collapse

Methods included from GenericMixin

#construct_env, #vagrant, #vagrant_capture

Instance Method Details

#vagrant_prison(args = {}, &block) ⇒ Object



109
110
111
112
113
# File 'lib/vagrant/dsl.rb', line 109

def vagrant_prison(args={}, &block)
  prison = Vagrant::DSL::Prison.new(args)
  prison.instance_eval(&block)
  prison.config
end