Tim Pease wrote:
> class Pattern
>  def self.create_date_format_methods( pf )
      old, $VERBOSE = $VERBOSE, nil
>    module_eval <<-CODE
>      def pf.format_date
>        Time.now.strftime "#{pf.date_pattern}"
>       end
>    CODE
    ensure
      $VERBOSE = old
>  end
> end

-- 
Florian Frank