* lib/drb/drb.rb: [DOC] Add note about start_service for each process

Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
  https://github.com/ruby/ruby/pull/514


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2014-01-31 21:40:18 +00:00
Родитель 16220d9abb
Коммит 2d170da497
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Sat Feb 1 06:38:51 2014 Zachary Scott <e@zzak.io>
* lib/drb/drb.rb: [DOC] Add note about start_service for each process
Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
https://github.com/ruby/ruby/pull/514
Sat Feb 1 06:30:20 2014 Zachary Scott <e@zzak.io>
* error.c: [DOC] Document Exception#cause by @jasonrclark [ci skip]

Просмотреть файл

@ -177,6 +177,9 @@ require 'drb/eq'
# # Not necessary for this small example, but will be required
# # as soon as we pass a non-marshallable object as an argument
# # to a dRuby call.
# #
# # Note: this must be called at least once per process to take any effect.
# # This is particularly important if your application forks.
# DRb.start_service
#
# timeserver = DRbObject.new_with_uri(SERVER_URI)