Sha256: a643532f4c9cc4cec217793a7d3c2a1a05cb77cd1556c0ed72bde2166fa1bcb3
Contents?: true
Size: 376 Bytes
Versions: 4
Compression:
Stored size: 376 Bytes
Contents
# frozen_string_literal: true module TaintedLove module Validator class RailtiesYamlLoad < Base def remove?(warning) line = warning.stack_trace_line Object.const_defined?('Rails') && warning.replacer == :ReplaceYAML && line[:file]['rails/application.rb'] && line[:method] == 'config_for' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems