Module: EZML::Filters::Ruby
- Includes:
- Base
- Defined in:
- lib/ezml/filters.rb
Instance Method Summary collapse
Methods included from Base
included, #internal_compile, #render, #render_with_options
Instance Method Details
#compile(compiler, text) ⇒ Object
151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'lib/ezml/filters.rb', line 151 def compile(compiler, text) return if compiler.[:suppress_eval] compiler.instance_eval do push_silent "#{<<-FIRST.tr("\n", ';')}#{text}#{<<-LAST.tr("\n", ';')}" ensure ezml_io.close ezml_io = nil end LAST end end |