You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: template.rb
    path of file: ./repos/mitamae/mrblib/mitamae/resource_executor
    
    the code of the file until where you have to start completion: module MItamae
  module ResourceExecutor
    class Template < RemoteFile
      private

      def set_desired_attributes(desired, action)
        case action
        when :create
          if attributes.content.nil?
            desired.content = RenderContext.new(@resource).render_file(source_file)
    
    
      def set_desired_attributes(desired, action)
        case action
        when :create
          if attributes.content.nil?
            desired.content = RenderContext.new(@resource).render_file(source_file)
          else
            if attributes.source != :auto
              MItamae.logger.warn(
                "Both `content` and `source` are specified in #{@resource.resource_type}" +
                "[#{@resource.resource_name}]. `content` will be used."
              )
            end