From: Michel Demazure Date: 2012-04-26T20:47:54+09:00 Subject: Re: A question of style Robert Klemme wrote in post #1058456: > > What does the real code look like? > One example : def create_report report = @recipe.run_with_logger(@parameter_values) if report @report = report J2R.logger.info("report created") bottom_message "Nombre de lignes #{@report.size}" else J2R.logger.error("error creating report") bottom_message "Erreur à la création du rapport" end end _md -- Posted via http://www.ruby-forum.com/.