lib/poolparty/modules/resourcing_dsl.rb in auser-poolparty-0.2.90 vs lib/poolparty/modules/resourcing_dsl.rb in auser-poolparty-0.2.91

- old
+ new

@@ -39,9 +39,15 @@ options[:cancelled] = args.empty? ? true : args[0] end def cancelled? options[:cancelled] || false end + def printed(*args) + options[:printed] = true + end + def printed? + options[:printed] || false + end # Give us a template to work with on the resource # Make sure this template is moved to the tmp directory as well # # TODO: Change this method to store the template files for later # copying to prevent unnecessary copying and tons of directories \ No newline at end of file