method
grapheme_clusters
ruby latest stable - Class:
String
grapheme_clusters()public
Returns an array of grapheme clusters in str. This is a shorthand for str.each_grapheme_cluster.to_a.
If a block is given, which is a deprecated form, works the same as each_grapheme_cluster.