Module: Spiceweasel::CommandHelper

Included in:
Berksfile, Cookbooks, DataBags, Environments, Nodes, Roles
Defined in:
lib/spiceweasel/command_helper.rb

Instance Method Summary collapse

Instance Method Details

#create_command(*args) ⇒ Object



5
6
7
8
# File 'lib/spiceweasel/command_helper.rb', line 5

def create_command(*args)
  @create ||= []
  @create.push(Command.new(*args))
end

#delete_command(*args) ⇒ Object



10
11
12
13
# File 'lib/spiceweasel/command_helper.rb', line 10

def delete_command(*args)
  @delete ||= []
  @delete.push(Command.new(*args))
end