るりまサーチ

最速Rubyリファレンスマニュアル検索!
629件ヒット [1-100件を表示] (0.055秒)
トップページ > クエリ:d[x] > クエリ:current[x]

別のキーワード

  1. bigdecimal/util to_d
  2. float to_d
  3. matrix d
  4. kernel $-d
  5. rsa d

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

drb (26012.0)

分散オブジェクトプログラミングのためのライブラリです。

...ブジェクトのメソッド
を呼びだすことができます。他のマシン上のプロセスにも
アクセスできます。

=== 概要
d
Ruby は Ruby 専用の分散オブジェクトシステムです。
Ruby のみで記述され、TCP socket のような Ruby 本体が提供する...
...独自のプロトコルで通信し、他の分散オブジェクトシステム
(CORBA, RMI, .NETなど)との相互運用性はありません。

d
Ruby は
* 他のプロセスと Ruby オブジェクトのリファレンスをやりとりすること
* そこからのメソッド呼び出...
...かしてください。

==== サーバ側コード
require 'drb/drb'

# 通信を待ち受ける URI
SERVER_URI="druby://localhost:8787"

class TimeServer

d
ef get_current_time
return Time.now
end

end

# サーバ側でリクエストを受け付けるオブジ...

Thread.current -> Thread (21207.0)

現在実行中のスレッド(カレントスレッド)を返します。

...現在実行中のスレッド(カレントスレッド)を返します。

p Thread.current #=> #<Thread:0x4022e6fc run>...

VALUE rb_thread_current(void) (12200.0)

現在実行中のスレッドを返します。

現在実行中のスレッドを返します。

DRb.#current_server -> DRb::DRbServer (9301.0)

「カレントサーバ」を返します。

...サーバとプライマリサーバは一致しますが、複数のサーバを
異なる URI で起動した場合などにはこの2つが異なる場合があります。

@raise DRb::DRbServerNotFound カレントサーバが存在しない場合に発生します
@see DRb.#primary_server...

RDoc::Context#current_section -> RDoc::Context::Section (9201.0)

現在の section を返します。

現在の section を返します。

絞り込み条件を変える

ThreadsWait#threads -> Array (9106.0)

同期されるスレッドの一覧を配列で返します。

...ドの一覧を配列で返します。

使用例
require 'thwait'

threads = []
3.times {|i|
threads << Thread.new { sleep 1; p Thread.current }
}

thall = ThreadsWait.new(*threads)
p thall.threads
#=> [#<Thread:0x21750 sleep>, #<Thread:0x216c4 sleep>, #<Thread:0x21638 sleep>]...

RDoc::Context#set_current_section(title, comment) -> () (9101.0)

Handle sections

...Handle sections...

IRB::ExtendCommand::CurrentWorkingWorkspace (9016.0)

irb 中の irb_current_working_workspace コマンドのための拡張を定義したク ラスです。

...irb 中の irb_current_working_workspace コマンドのための拡張を定義したク
ラスです。...

DRb::DRbServerNotFound (9006.0)

カレントサーバが見付からない場合に発生する例外のクラス

...カレントサーバが見付からない場合に発生する例外のクラス

@see DRb.#current_server...
<< 1 2 3 ... > >>