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 = new_encoded_string @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 @preserve_pattern = /<[\s]*#{@options[:preserve].join("|")}/i end