Author: laukpe
Date: Wed Sep 24 09:19:15 2008
New Revision: 814

Modified:
   trunk/proto/remote/ruby/examplelibrary.rb

Log:
better way to construc logged messge - works also with ints etc.

Modified: trunk/proto/remote/ruby/examplelibrary.rb
==============================================================================
--- trunk/proto/remote/ruby/examplelibrary.rb   (original)
+++ trunk/proto/remote/ruby/examplelibrary.rb   Wed Sep 24 09:19:15 2008
@@ -10,7 +10,7 @@
   end

   def logging(message, level='INFO')
-    puts '*'+ level + '* ' + message
+    puts "*#{level}* #{message}"
   end

   def returning

Reply via email to