Class: TaintedLove::Validator::RackBuilderEval
- Defined in:
- lib/tainted_love/validator/rack_builder_eval.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#remove?(warning) ⇒ Boolean
6 7 8 9 10 11 12 |
# File 'lib/tainted_love/validator/rack_builder_eval.rb', line 6 def remove?(warning) return unless warning.replacer == :ReplaceKernel if warning.stack_trace.lines.first[:file]['rack/builder.rb'] return true end end |