Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > rinda/tuplespaceライブラリ > Rinda::TupleEntryクラス > new

singleton method Rinda::TupleEntry.new

new(ary, sec = nil)

[TODO]

Creates a TupleEntry based on +ary+ with an optional renewer or expiry time +sec+.

A renewer must implement the +renew+ method which returns a Numeric, nil, or true to indicate when the tuple has expired.

class Rinda::TupleEntry