= private = protected
new(string)
Creates a new Chars instance by wrapping string.
# File activesupport/lib/active_support/multibyte/chars.rb, line 54 def initialize(string) @wrapped_string = string @wrapped_string.force_encoding(Encoding::UTF_8) unless @wrapped_string.frozen? end