# # Author:: John Keiser ( 0 current_resource.load_current_value!(new_resource) else current_resource.load_current_value! end rescue Chef::Exceptions::CurrentValueDoesNotExist current_resource = nil end end @current_resource = current_resource end def self.included(other) other.extend(ClassMethods) other.use_inline_resources other.include_resource_dsl true end module ClassMethods # # The Chef::Resource class this ActionClass was declared against. # # @return [Class] The Chef::Resource class this ActionClass was declared against. # attr_accessor :resource_class def to_s "#{resource_class} action provider" end def inspect to_s end end end end end