method

compile_content

v2_4_6 - Show latest stable - Class: ERB::Compiler
compile_content(stag, out)
public

No documentation available.

# File lib/erb.rb, line 668
    def compile_content(stag, out)
      case stag
      when '<%'
        if content[-1] == \n\
          content.chop!
          out.push(content)
          out.cr
        else
          out.push(content)
        end
      when '<%='
        add_insert_cmd(out, content)
      when '<%#'
        # out.push("# #{content_dump(content)}")
      end
    end