class I18nLinter::Rules::ClassName
Constants
- CLASS_NAME_LABEL
Public Instance Methods
check(tokens)
click to toggle source
# File lib/i18n_linter/rules/class_name.rb, line 8 def check(tokens) tokens[0] == :assoc_new && I18nLinter::Digger.new(:@label).find([CLASS_NAME_LABEL], tokens[1]) end