Class: I18nLinter::Rules::HttpHeaders

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_linter/rules/http_headers.rb

Instance Method Summary collapse

Instance Method Details

#check(tokens) ⇒ Object



6
7
8
# File 'lib/i18n_linter/rules/http_headers.rb', line 6

def check(tokens)
  tokens[0] == :assoc_new && literal_or_symbol(tokens)
end