method

new

v1_9_3_392 - Show latest stable - Class: ERB::Compiler::Buffer
new(compiler, enc=nil)
public

No documentation available.

# File lib/erb.rb, line 544
      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