check if string is contains something ruby code example Example: include ruby string unless @players.include?(p.name) ... end