Class: Haml::Filters::Escaped
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Haml::Filters::Base
Instance Method Details
#compile(node)
5 6 7 8 9 |
# File 'lib/haml/filters/escaped.rb', line 5
def compile(node)
text = node.value[:text].rstrip
temple = compile_text(text)
[:escape, true, temple]
end
|