From: daz Date: 2004-06-08T05:48:39+09:00 Subject: Re: BEGIN & END blocks Guillaume Marcais wrote: > [...] But that one is run and not the other is strange, isn't it? > ruby 1.8.1 (2004-04-05) [i686-linux] > [gus@comp tests]$ /usr/local/bin/ruby -v > ruby 1.9.0 (2004-05-21) [i686-linux] Also: ruby 1.6.7 (2002-03-01) [i586-mswin32] if false BEGIN { puts '*BEGIN*' } END { puts '* END *' } end puts 'Main' #=> *BEGIN* #=> Main daz