Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library drb > module DRb > to_id

module function DRb.#to_id

to_id(obj)

Get a reference id for an object using the current server.

This raises a DRbServerNotFound error if there is no current server. See #current_server.