src code

instance method String#include

String#include(substring) → Boolean

Checks if the string contains substring.

Example
'Prototype framework'.include('frame');
//-> true
'Prototype framework'.include('frameset');
//-> false