Class: Haml::Template::Options

Inherits:
Hash
  • Object
show all
Defined in:
lib/haml/template/options.rb

Instance Method Summary collapse

Instance Method Details

#[]=(key, value)



11
12
13
14
15
16
# File 'lib/haml/template/options.rb', line 11

def []=(key, value)
  super
  if Haml::Options.buffer_defaults.key?(key)
    Haml::Options.buffer_defaults[key] = value
  end
end