DRb::DRbIdConv
# File drb/timeridconv.rb, line 74 def initialize(timeout=600) @holder = TimerHolder2.new(timeout) end
# File drb/timeridconv.rb, line 85 def to_id(obj) return @holder.add(obj) end
# File drb/timeridconv.rb, line 78 def to_obj(ref) return super if ref.nil? @holder.fetch(ref) rescue TimerHolder2::InvalidIndexError raise "invalid reference" end
This page was generated for Ruby 1.8.6
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.0.