From 6ddfe9ba1a44329a8f29200b93ec56068b562ba6 Mon Sep 17 00:00:00 2001 From: coldpeace Date: Wed, 7 Jul 2010 07:59:40 +0000 Subject: [PATCH 1/1] adding some comments git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7985 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/ruby/MasterSlave.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/ruby/MasterSlave.rb b/examples/ruby/MasterSlave.rb index bd6f69f41d..198c4caedc 100644 --- a/examples/ruby/MasterSlave.rb +++ b/examples/ruby/MasterSlave.rb @@ -4,7 +4,6 @@ include MSG # Class Master ################################################# - class Master < MSG::Process # main : that function that will be executed when running simulation @@ -41,6 +40,9 @@ class Master < MSG::Process MSG::info("Master : Everything's Done") end end + +# end_of_master + ################################################# # Class Slave ################################################# @@ -63,6 +65,9 @@ class Slave < MSG::Process MSG::info("I'm done, see you") end end + +# end_of_slave + ################################################# # main chunck ################################################# -- 2.20.1