From d53e9c1e8403edd9855cbb323e7ed3ef84564e8a Mon Sep 17 00:00:00 2001 From: ayumin Date: Thu, 8 Sep 2011 16:24:43 +0000 Subject: * sample/drb/README.rd.ja: * sample/drb/dhasenc.rb: * sample/mine.rb: Change encoding from EUC-JP to UTF-8 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/drb/README.rd.ja | 48 ++++++++++++++++++++++++------------------------ sample/drb/dhasenc.rb | 6 +++--- 2 files changed, 27 insertions(+), 27 deletions(-) (limited to 'sample/drb') diff --git a/sample/drb/README.rd.ja b/sample/drb/README.rd.ja index 04143b9ad5..ec78dc70dd 100644 --- a/sample/drb/README.rd.ja +++ b/sample/drb/README.rd.ja @@ -1,59 +1,59 @@ -= サンプルスクリプト += 泣潟鴻 -* Arrayをリモートから利用してイテレータを試す。 +* Array≪若ゃ若帥荅 * darray.rb --- server * darrayc.rb --- client -* 簡易チャット +* 膂≧c * dchats.rb --- server * dchatc.rb --- client -* 分散chasen +* chasen * dhasen.rb --- server * dhasenc.rb --- client -* 簡易ログサーバ +* 膂≧違泣若 * dlogd.rb --- server * dlogc.rb --- client -* Queueサーバ。 - クライアントdqin.rbはQueueサーバの知らないオブジェクト(DQEntry)を - pushするがDRbUnknownによりクライアントdqout.rbがpopできる。 +* Queue泣若 + ゃ≪潟dqin.rbQueue泣若ャ吾с(DQEntry) + pushDRbUnknownゃ≪潟dqout.rbpopс * dqueue.rb --- server - * dqin.rb --- client。DQEntryオブジェクトをpushする - * dqout.rb --- client。DQEntryオブジェクトをpopする - * dqlib.rb --- DQEntryを定義したライブラリ + * dqin.rb --- clientDQEntry吾сpush + * dqout.rb --- clientDQEntry吾сpop + * dqlib.rb --- DQEntry絎臂ゃ -* 名前による参照 - IdConvをカスタマイズしてidでなく名前で参照する例 +* + IdConv鴻帥ゃ冴idсус箴 * name.rb --- server * namec.rb --- client -* extservのサンプル +* extserv泣潟 * extserv_test.rb -* TimerIdConvの使用例 - * holders.rb --- server。ruby -d hodlers.rbとするとTimerIdConvを使用する。 +* TimerIdConv篏睡箴 + * holders.rb --- serverruby -d hodlers.rbTimerIdConv篏睡 * holderc.rb --- client -* rinda.rbの使用例 - * rinda_ts.rb --- TupleSpaceサーバ。 - * rindac.rb --- TupleSpaceのclientでアプリケーションのclient - * rindas.rb --- TupleSpaceのclientでアプリケーションのserver +* rinda.rb篏睡箴 + * rinda_ts.rb --- TupleSpace泣若 + * rindac.rb --- TupleSpaceclientс≪宴若激с潟client + * rindas.rb --- TupleSpaceclientс≪宴若激с潟server -* observerの使用例 +* observer篏睡箴 cdbiff - (()) * dbiff.rb --- dcdbiff server * dcdbiff.rb --- dcdbiff client -* drbsslの使用例 +* drbssl篏睡箴 * drbssl_s.rb * drbssl_c.rb -* DRbProtoclの追加例 +* DRbProtocl菴遵箴 * http0.rb * http0serv.rb -* ringの使用例 +* ring篏睡箴 * ring_place.rb * ring_echo.rb diff --git a/sample/drb/dhasenc.rb b/sample/drb/dhasenc.rb index 44e58ce096..1c0c153b5b 100644 --- a/sample/drb/dhasenc.rb +++ b/sample/drb/dhasenc.rb @@ -1,4 +1,4 @@ -# -*- encoding: euc-jp -*- +# -*- encoding: utf-8 -*- =begin distributed Ruby --- dRuby Sample Client -- chasen client Copyright (c) 1999-2001 Masatoshi SEKI @@ -10,5 +10,5 @@ there = ARGV.shift || raise("usage: #{$0} ") DRb.start_service dhasen = DRbObject.new(nil, there) -print dhasen.sparse("本日は、晴天なり。", "-F", '(%BB %m %M)\n', "-j") -print dhasen.sparse("本日は、晴天なり。", "-F", '(%m %M)\n') +print dhasen.sparse("ャ翫ぉ", "-F", '(%BB %m %M)\n', "-j") +print dhasen.sparse("ャ翫ぉ", "-F", '(%m %M)\n') -- cgit v1.2.3