class I18nLinter::Rules::Scope

Constants

SCOPE_IDENT

Public Instance Methods

check(tokens) click to toggle source
# File lib/i18n_linter/rules/scope.rb, line 8
def check(tokens)
  tokens[0] == :command && I18nLinter::Digger.new(:@ident).find([SCOPE_IDENT], tokens[1])
end