method

compile_content

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

No documentation available.

# File lib/erb.rb, line 644
    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 '<%#'
        # commented out
      end
    end