class TaintedLove::Validator::SproketsMarshal

Public Instance Methods

remove?(warning) click to toggle source
# 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