class I18nLinter::Rules::Words

Public Instance Methods

check(string) click to toggle source
# File lib/i18n_linter/rules/words.rb, line 6
def check(string)
  /^[A-Z].*[a-z]/ =~ string.strip
end