size()
Returns the number of codepoints in the string
# File activesupport/lib/active_support/multibyte/chars.rb, line 170 def size Unicode.u_unpack(@wrapped_string).size end