method

include?

rails latest stable - Class: ActiveSupport::Multibyte::Chars

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

include?(other)
public

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

Example:

'Café'.mb_chars.include?('é') # => true