Sha256: 9ab54a60700684ba69c1ec4010fe0a237b780cdd8c69d9d39f95720a26258d9d

Contents?: true

Size: 261 Bytes

Versions: 5

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

module BetterHtml
  module TestHelper
    class SafetyError < InterpolatorError
      attr_reader :location

      def initialize(message, location:)
        @location = location
        super(message)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
better_html-2.1.1 lib/better_html/test_helper/safety_error.rb
better_html-2.1.0 lib/better_html/test_helper/safety_error.rb
better_html-2.0.2 lib/better_html/test_helper/safety_error.rb
better_html-2.0.1 lib/better_html/test_helper/safety_error.rb
better_html-2.0.0 lib/better_html/test_helper/safety_error.rb