Class: TaintedLove::Validator::ErbEval
- Defined in:
- lib/tainted_love/validator/erb_eval.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#remove?(warning) ⇒ Boolean
6 7 8 9 10 |
# File 'lib/tainted_love/validator/erb_eval.rb', line 6 def remove?(warning) if Object.const_defined?('Rails') || Object.const_defined?('ERB') return true if warning.tainted_input['_erbout'] end end |