From: Jan Friedrich Date: 2009-04-15T21:00:09+09:00 Subject: Re: OptionParser and Exceptions Srijayanth Sridhar wrote: > Why is this? the parse! method just calls the block defined in new > doesn't it? No it doesn't: require 'optparse' optparser = OptionParser.new do |args| puts 'Here in OptionParser.new' end puts 'Before optparser.parse!' optparser.parse! puts 'After optparser.parse!' Regards, Jan