Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
String
/
//opt/alt/ruby27/share/ri/system/String/each_grapheme_cluster-i.ri
U:RDoc::AnyMethod[iI"each_grapheme_cluster:ETI"!String#each_grapheme_cluster;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"OPasses each grapheme cluster in <i>str</i> to the given block, or returns ;TI")an enumerator if no block is given. ;TI"NUnlike String#each_char, this enumerates by grapheme clusters defined by ;TI"@Unicode Standard Annex #29 http://unicode.org/reports/tr29/;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I")"a\u0300".each_char.to_a.size #=> 2 ;TI"4"a\u0300".each_grapheme_cluster.to_a.size #=> 1;T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"wstr.each_grapheme_cluster {|cstr| block } -> str str.each_grapheme_cluster -> an_enumerator ;T0[ I"();T@FI"String;TcRDoc::NormalClass00