class Haml::Buffer
def initialize(upper = nil, options = {})
-
options
({Symbol => Object}
) -- An options hash. -
upper
(Buffer
) -- The parent buffer
def initialize(upper = nil, options = {}) @active = true @upper = upper @options = options @buffer = ruby1_8? ? "" : "".encode(Encoding.find(options[:encoding])) @tabulation = 0 # The number of tabs that Engine thinks we should have # @real_tabs + @tabulation is the number of tabs actually output @real_tabs = 0 end