From: SASADA Koichi Date: 2007-08-26T12:11:36+09:00 Subject: Re: Fibers in Ruby 1.9? Hi, David A. Black wrote: > I'm not sure if it's something I'm doing wrong, or something that's > changed in the code, but I'm getting this (on Fedora 5): > > rubypal:~$ /usr/local/lib/ruby-svn/bin/ruby -ve 'Fiber.yield' > ruby 1.9.0 (2007-08-26 patchlevel 0) [i686-linux] > -e:1:in `method_missing': undefined method `yield' for Fiber:Class > (NoMethodError) > from -e:1:in `
' > rubypal:~$ /usr/local/lib/ruby-svn/bin/ruby -ve 'Fiber.new {}.resume' > ruby 1.9.0 (2007-08-26 patchlevel 0) [i686-linux] > -e:1:in `method_missing': undefined method `resume' for > # (NoMethodError) > from -e:1:in `
' add "require 'fiber'" at first. -- // SASADA Koichi at atdot dot net