summaryrefslogtreecommitdiffstats
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 17:47:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 17:47:09 +0000
commit56ee304dd8dbf062a80d7a2847f7f4c543780708 (patch)
tree71fa92ca4779e1d2cccbd5937ca834e4c6981533 /include/ruby/ruby.h
parent53e7757f574a33840877745e3e4982353e69ae56 (diff)
downloadruby-56ee304dd8dbf062a80d7a2847f7f4c543780708.tar.gz
ruby-56ee304dd8dbf062a80d7a2847f7f4c543780708.tar.xz
ruby-56ee304dd8dbf062a80d7a2847f7f4c543780708.zip
* array.c (rb_ary_s_try_convert): a new class method to convert
object or nil if it's not target-type. this mechanism is used to convert types in the C implemented methods. * hash.c (rb_hash_s_try_convert): ditto. * io.c (rb_io_s_try_convert): ditto. * re.c (rb_reg_s_try_convert): ditto. * string.c (rb_str_s_try_convert): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions