method
include?
v3.2.13 -
Show latest stable
- Class:
ActiveSupport::Multibyte::Chars
include?(other)public
Returns true if contained string contains other. Returns false otherwise.
Example:
'Café'.mb_chars.include?('é') # => true
include?(other)Returns true if contained string contains other. Returns false otherwise.
Example:
'Café'.mb_chars.include?('é') # => true