Ruby on Rails - core extensions string exclusion in ruby on rails - ruby on rails tutorial - rails guides - rails tutorial - ruby rails
String#exclude?
The inverse of String#include?
"hello".exclude? "lo" # => false
"hello".exclude? "ol" # => true
"hello".exclude? ?h # => false