From: Sean O'Dell Date: 2004-06-22T07:02:39+09:00 Subject: Re: opening a file in ext On Monday 21 June 2004 14:37, nobu.nokada@softhome.net wrote: > Hi, > > At Tue, 22 Jun 2004 06:26:39 +0900, > > Sean O'Dell wrote in [ruby-talk:104279]: > > > This should work: > > > > > > return rb_funcall(rb_cFile, rb_intern(":new"), > > > rb_str_new2("filename")); > > > > Oops, try: > > > > return rb_funcall(rb_cFile, rb_intern(":new"), 1, > > rb_str_new2("filename")); > > rb_intern(":new") differs from rb_intern("new"). Typing too fast again, you're right. Sean O'Dell