diff options
Diffstat (limited to 'rubocop/ext/variable_force.rb')
-rw-r--r-- | rubocop/ext/variable_force.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/rubocop/ext/variable_force.rb b/rubocop/ext/variable_force.rb deleted file mode 100644 index def284513ed..00000000000 --- a/rubocop/ext/variable_force.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module RuboCop - module Ext - module VariableForce - def scanned_node?(node) - scanned_nodes.include?(node) - end - - def scanned_nodes - @scanned_nodes ||= Set.new.compare_by_identity - end - end - end -end - -RuboCop::Cop::VariableForce.prepend RuboCop::Ext::VariableForce |