summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/include_spec.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-18 11:27:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-12-18 11:27:05 +0900
commitb816f7bac5f2dfb10c7a468c14cfcdedaab2f7ae (patch)
treeb24021120c68b1546c028de317212d4a42f1a2b8 /spec/ruby/core/array/include_spec.rb
parentf2d2a757d1b3a11b68e60ee08162e58f59837bb3 (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/array/include_spec.rb')
0 files changed, 0 insertions, 0 deletions