    # File lib/chef/shef/model_wrapper.rb, line 62
        def transform(what_to_transform, &block)
          if what_to_transform == :all
            objects_to_transform = list_objects
          else
            objects_to_transform = search(what_to_transform)
          end
          objects_to_transform.each do |obj|
            if result = yield(obj)
              obj.save
            end
          end
        end