diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-18 11:27:05 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-18 11:27:05 +0900 |
| commit | b816f7bac5f2dfb10c7a468c14cfcdedaab2f7ae (patch) | |
| tree | b24021120c68b1546c028de317212d4a42f1a2b8 /spec/ruby/core | |
| parent | f2d2a757d1b3a11b68e60ee08162e58f59837bb3 (diff) | |
[DOC] Fix documents of `rb_intern_str` and so on
* `rb_intern_str`: the argument must be `T_STRING`, no conversion.
* `rb_intern_str`, `rb_check_id`, `rb_to_id`, `rb_check_symbol`: raise
`EncodingError` unless the "name" argument is a valid string in its
encoding.
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
