aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template/handlers/raw.rb
blob: 5cd23a006067c530bb6378bebacddeb6087afd84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ActionView
  module Template::Handlers
    class Raw
      def call(template)
        "#{template.source.inspect}.html_safe;"
      end
    end
  end
end