Class | ActionView::TemplateHandlers::ErubisHandler |
In: |
erubis/helpers/rails_helper.rb
|
Parent: | TemplateHandler |
# File erubis/helpers/rails_helper.rb, line 153 def compile(template) #src = ::ERB.new("<% __in_erb_template=true %>#{template.source}", nil, erb_trim_mode, '@output_buffer').src return _convert_template("<% __in_erb_template=true %>#{template.source}") end
# File erubis/helpers/rails_helper.rb, line 179 def compile(template) return _convert_template(template.source) # template.is_a?(ActionView::Template) end