Method: Chef::Provider::Env#action_delete

Defined in:
lib/chef/provider/env.rb

#action_deleteObject



115
116
117
118
119
120
121
# File 'lib/chef/provider/env.rb', line 115

def action_delete
  if @key_exists && !delete_element
    delete_env
    Chef::Log.info("#{@new_resource} deleted")
    @new_resource.updated_by_last_action(true)
  end
end