From: matz@... (Yukihiro Matsumoto) Date: 2001-12-20T15:58:36+09:00 Subject: [ruby-talk:29074] Re: [SUGGESTION] NULL check in string.c Hi, In message "[ruby-talk:28974] [SUGGESTION] NULL check in string.c" on 01/12/20, Patrik Sundberg writes: |I would guess that this is quite a common situation and it would be really |easy to use this for rb_str_new2: rb_str_new2() should return String object only, otherwise you have to scatter type checks everywhere. How about raising exception instead? matz.