method

include?

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte::Chars
include?(other) public

Returns true if contained string contains other. Returns false otherwise.

Example:

  'Café'.mb_chars.include?('é') #=> true
Show source
Register or log in to add new notes.