Class: TaintedLove::Validator::ErbEval

Inherits:
Base
  • Object
show all
Defined in:
lib/tainted_love/validator/erb_eval.rb

Instance Method Summary collapse

Methods inherited from Base

validators

Instance Method Details

#remove?(warning) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/tainted_love/validator/erb_eval.rb', line 6

def remove?(warning)
  return true if warning.replacer == :ReplaceKernel && warning.tainted_input.include?('_erbout')
end