method

compile_content

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: ERB::Compiler
compile_content(stag, out) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/erb.rb, line 648
    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
Register or log in to add new notes.