fetch(key, dv=@sentinel) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/drb/timeridconv.rb, line 38
      def fetch(key, dv=@sentinel)
        synchronize do
          obj = peek(key)
          if obj == @sentinel
            return dv unless dv == @sentinel
            raise InvalidIndexError
          end
          @renew[key] = obj # KeepIt
          return obj
        end
      end
Register or log in to add new notes.