Sha256: 21ca9ccaa87847c51a70871d3ec0552ab1ed9900d941129a534e7182cfa50700

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

require "active_support/core_ext/string/output_safety"
require "action_view"

module BetterHtml
  class InterpolatorError < RuntimeError; end
  class DontInterpolateHere < InterpolatorError; end
  class UnsafeHtmlError < InterpolatorError; end
  class HtmlError < RuntimeError; end

  class Errors < Array
    alias_method :add, :<<
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
better_html-2.0.0 lib/better_html/errors.rb