Class: I18nLinter::Rules::Constant
- Inherits:
-
Object
- Object
- I18nLinter::Rules::Constant
- Defined in:
- lib/i18n_linter/rules/constant.rb
Instance Method Summary collapse
Instance Method Details
#check(tokens) ⇒ Object
6 7 8 |
# File 'lib/i18n_linter/rules/constant.rb', line 6 def check(tokens) tokens[0] == :assign && constant_assign(tokens) end |