Sha256: 839f7ef8369f726f96443ef10a81731abd27352a5618db498e8369d9b151bcf2
Contents?: true
Size: 333 Bytes
Versions: 17
Compression:
Stored size: 333 Bytes
Contents
module RuboCop module Cop module Betterment class Raw < Cop MSG = 'Using raw creates the potential for XSS attacks.' def on_send(node) _receiver, method_name = *node return unless method_name == :raw add_offense(node, :selector, MSG) end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems