instance method error_highlight_available?

Ruby on Rails 7.1.6

Since v7.1.6 Last seen in v7.2.3

Available in: v7.1.6 v7.2.3

Signature

error_highlight_available?()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 210
    def error_highlight_available?
      # ErrorHighlight.spot with backtrace_location keyword is available since error_highlight 0.4.0
      defined?(ErrorHighlight) && Gem::Version.new(ErrorHighlight::VERSION) >= Gem::Version.new("0.4.0")
    end

Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 210 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::ExceptionWrapper

Type at least 2 characters to search.

↑↓ navigate · open · esc close