method
error_highlight_available?
v7.1.3.2 -
Show latest stable
- Class:
ActionDispatch::ExceptionWrapper
error_highlight_available?()public
No documentation available.
# 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