Sha256: 75d5f7448d42e57403236d02e19924ec3e3f26eceac2dddd6417868be5a2b4a4
Contents?: true
Size: 314 Bytes
Versions: 4
Compression:
Stored size: 314 Bytes
Contents
# encoding: utf-8 module Rubocop module Cop class AvoidPerlBackrefs < Cop def on_nth_ref(node) backref, = *node add_offence(:convention, node.loc.line, "Prefer the use of MatchData over $#{backref}.") super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems