module Haml::Filters::Ruby
def compile(compiler, text)
- See: Base#compile -
def compile(compiler, text) return if compiler.options[:suppress_eval] compiler.instance_eval do push_silent "#{<<-FIRST.tr("\n", ';')}#{text}#{<<-LAST.tr("\n", ';')}" begin haml_io = StringIO.new(_hamlout.buffer, 'a') FIRST ensure haml_io.close haml_io = nil end LAST end end