method

include?

Importance_1
v3.2.13 - 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.