mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
b11596891a
Added comprehensive call-seq documentation for the 2 missing public methods in the encoding gem, improving documentation coverage from 33% to 100%. Documentation added: - String#encoding: Returns the encoding of a string (UTF-8 or ASCII-8BIT) - String#force_encoding: Changes string encoding in place Each method now includes: - Clear method signatures with parameter and return types - Descriptions of encoding behavior specific to mruby's limitations - Practical examples showing usage patterns - Notes about mruby's simplified encoding support (UTF-8, ASCII-8BIT, BINARY) This complements the existing String#valid_encoding? documentation and provides complete coverage for mruby's "poorman's encoding" functionality, making it easier for developers to understand encoding operations in embedded Ruby environments. Co-authored-by: Atlassian Rovo Dev