method
new
new(compiler, enc=nil)
public
Hide source
# File lib/erb.rb, line 547 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