Class: TaintedLove::Validator::SproketsMarshal
- Defined in:
- lib/tainted_love/validator/sprokets_marshal.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/sprokets_marshal.rb', line 6 def remove?(warning) calling = warning.stack_trace.lines.first if calling[:method] == "unmarshaled_deflated" && calling[:file][/sprockets/] return true end end |