instance method
downcase
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v5.2.8.1Signature
downcase()
Convert characters in the string to lowercase.
Example:
'VĚDA A VÝZKUM'.mb_chars.downcase.to_s #=> "věda a výzkum"
Source
# File activesupport/lib/active_support/multibyte/chars.rb, line 358
def downcase
apply_mapping :lowercase_mapping
end
Defined in activesupport/lib/active_support/multibyte/chars.rb line 358
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Multibyte::Chars