Commit 23d55015 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Remove unused constant

This removes an unused constant from the
`RubyInterpolationInTranslation`. The constant was used in a first
implementation of this class.
parent ec33016b
......@@ -6,7 +6,6 @@ module RuboCop
MSG = "Don't use ruby interpolation \#{} inside translated strings, instead use \%{}"
TRANSLATION_METHODS = ':_ :s_ :N_ :n_'
RUBY_INTERPOLATION_REGEX = /.*\#\{.*\}/
def_node_matcher :translation_method?, <<~PATTERN
(send nil? {#{TRANSLATION_METHODS}} $dstr ...)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment