new(compiler, enc=nil) 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 474
      def initialize(compiler, enc=nil)
        @compiler = compiler
        @line = []
        @script = enc ? "#coding:#{enc.to_s}\n" : ""
        @compiler.pre_cmd.each do |x|
          push(x)
        end
      end
Register or log in to add new notes.