class TaintedLove::Validator::ActionDispatchDiagnostics
Constants
- FILES
Public Instance Methods
remove?(warning)
click to toggle source
# File lib/tainted_love/validator/action_dispatch_diagnostics.rb, line 10 def remove?(warning) return unless warning.replacer == :ReplaceActionView FILES.any? do |file| warning.stack_trace_line[:file][file] end end