Flowdock
method

compile_content

Importance_0
v2_4_6 - 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 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
Register or log in to add new notes.