method

new

new(template)
public

No documentation available.

# File actionview/lib/action_view/template/error.rb, line 173
      def initialize(template)
        super($!.message)
        @cause = $!
        if @cause.is_a?(SyntaxError)
          @cause = ActiveSupport::SyntaxErrorProxy.new(@cause)
        end
        @template, @sub_templates = template, nil
      end