Sha256: 1eddd2ed5f4649b067e7d9e9931a04dffa70b00aae25d0ff84fe9c33f9a311d3

Contents?: true

Size: 598 Bytes

Versions: 3

Compression:

Stored size: 598 Bytes

Contents

dir = File.dirname(__FILE__)
if ActionView.const_defined?(:TemplateHandlers)
  if ::ActionView::TemplateHandlers::const_defined?(:Compilable)
    if ActionView.const_defined?(:TemplateHandlers) && ::ActionView::TemplateHandlers::ERB.respond_to?(:erb_trim_mode)
      require File.expand_path("#{dir}/2.2.0/action_view_template_handler")
    else
      require File.expand_path("#{dir}/2.1.0/action_view_template_handler")
    end
  else
    require File.expand_path("#{dir}/2.0.0/action_view_template_handler")
  end
else
  require File.expand_path("#{dir}/1.2.5/action_view_template_handler")
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
pivotal-erector-0.5.1 lib/erector/rails/template_handlers/action_view_template_handler.rb
erector-0.5.0 lib/erector/rails/template_handlers/action_view_template_handler.rb
erector-0.5.1 lib/erector/rails/template_handlers/action_view_template_handler.rb