From: ts Date: 2006-08-02T21:40:24+09:00 Subject: Re: crontab.rb:117: warning: tried to create Proc object without a block >>>>> "Y" == Yvon Thoraval writes: Y> the file i've found "crontab.rb" is of 2001, may be that's the reason...= yes, svg% ./ruby -ve 'def a() j = proc if iterator?; p j end; a {}' ruby 1.6.8 (2002-12-24) [i686-linux] # svg% svg% ./ruby -ve 'def a() j = proc if iterator?; p j end; a {}' ruby 1.8.0 (2003-08-04) [i686-linux] -e:1: warning: tried to create Proc object without a block # svg% svg% ./ruby -ve 'def a() j = Proc.new if iterator?; p j end; a {}' ruby 1.8.0 (2003-08-04) [i686-linux] # svg% Guy Decoux