Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/spellcop/ignore.rb
Instance Method Summary collapse
Instance Method Details
#spellcop_ignore? ⇒ Boolean
5 6 7 |
# File 'lib/spellcop/ignore.rb', line 5 def spellcop_ignore? IGNORE.include? downcase or chars.first == chars.first.upcase or include? '_' or include? '-' end |