mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
b46d6e07c8
- Add descriptive comments for key internal helper functions: * str_lines: splits string into array of lines * str_codepoints: returns array of character codepoints * str_chars_ary: fast path for String#chars returning character array * str_hex/str_oct: convert hex/octal strings to integers * str_ascii_only_p: checks if string contains only ASCII characters * str_b: returns binary encoded copy of string * str_char_count: counts UTF-8 characters using mruby standard function * str_delete_m/str_delete_bang: delete pattern characters (new/in-place) - Improves code maintainability for large string extension gem (2309 lines) - Maintains existing excellent call-seq documentation coverage (37 methods) - Follows mruby documentation standards and internal helper conventions Co-authored-by: Atlassian Rovo Dev