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