class I18nLinter::Rules::RegExp
Public Instance Methods
check(tokens)
click to toggle source
# File lib/i18n_linter/rules/reg_exp.rb, line 6 def check(tokens) tokens[0] == :regexp_literal end
# File lib/i18n_linter/rules/reg_exp.rb, line 6 def check(tokens) tokens[0] == :regexp_literal end