class I18nLinter::Rules::Query
Public Instance Methods
check(tokens)
click to toggle source
# File lib/i18n_linter/rules/query.rb, line 6 def check(tokens) tokens[0] == :method_add_arg && I18nLinter::Digger.new(:@ident).find(I18nLinter::Constants::QUERY_METHODS, tokens[1]) end