Prev: Creating Arrays Through a Loop
Next: UTF8 hell
From: Roger Pack on 3 Feb 2010 10:58 > Actually , I tried : > > rb_funcall3(rb_const_get(rb_cObject, rb_intern("Thread")), > rb_intern("new"), 0, 0); > > But >> `initialize': must be called with a block (ThreadError) The code at http://betterlogic.com/roger/?p=2474&cpage=1#comment-3372 uses rb_iterate which "passes a block" to a method. -r -- Posted via http://www.ruby-forum.com/. |