lib/veewee/definition.rb in veewee-0.3.0.alpha6 vs lib/veewee/definition.rb in veewee-0.3.0.alpha7
- old
+ new
@@ -37,9 +37,17 @@
attr_accessor :virtualbox
attr_accessor :vmfusion
attr_accessor :kvm
+
+ def ui
+ return @_ui if defined?(@_ui)
+ @_ui = @env.ui.dup
+ @_ui.resource = @name
+ @_ui
+ end
+
def initialize(name,path,env)
@name=name
@env=env