lib/rubocop/cop/style/special_global_vars.rb in rubocop-0.13.1 vs lib/rubocop/cop/style/special_global_vars.rb in rubocop-0.14.0

- old
+ new

@@ -41,10 +41,10 @@ def message(node) global_var, = *node MSG.format(PREFERRED_VARS[global_var], global_var) end - def autocorrect_action(node) + def autocorrect(node) @corrections << lambda do |corrector| global_var, = *node corrector.replace(node.loc.expression, PREFERRED_VARS[global_var])