diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 07:23:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 07:23:23 +0000 |
commit | 6b818dd9616ce6f0c849ab32c5869cc55b624b0a (patch) | |
tree | 57a01309af17a79bcf3f47f2bb95cf135fa955ca /process.c | |
parent | 7e3bd6646ca88a285f0eb369a668c6596e0d6c83 (diff) | |
download | ruby-6b818dd9616ce6f0c849ab32c5869cc55b624b0a.tar.gz |
common conversion functions
* array.c (rb_to_array_type): make public to share common code
internally.
* hash.c (rb_to_hash_type): make public to share common code
internally.
* symbol.c (rb_to_symbol_type): make public to share common code
internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2386,7 +2386,7 @@ rb_execarg_parent_start1(VALUE execarg_obj) } else { envtbl = rb_const_get(rb_cObject, id_ENV); - envtbl = rb_convert_type_with_id(envtbl, T_HASH, "Hash", idTo_hash); + envtbl = rb_to_hash_type(envtbl); } hide_obj(envtbl); if (envopts != Qfalse) { |