Module: Haml::Filters::CodeRay_raw
- Includes:
- Base
- Defined in:
- lib/haml-coderay.rb
Overview
CodeRay without ‘#{}` interpolation.
Instance Method Summary collapse
Instance Method Details
#compile(precompiler, text) ⇒ Object
70 71 72 73 74 75 |
# File 'lib/haml-coderay.rb', line 70 def compile(precompiler, text) text = Haml::Helpers::find_and_preserve( Haml::Filters::CodeRay.render(text).rstrip, precompiler.[:preserve]) precompiler.send(:push_text, text) end |