class Haml::Filters::TiltBase
def self.render(name, source, indent_width: 0)
def self.render(name, source, indent_width: 0) text = ::Tilt["t.#{name}"].new { source }.render return text if indent_width == 0 if text.frozen? text.gsub(/^/, ' ' * indent_width) else text.gsub!(/^/, ' ' * indent_width) end end