End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Rinda::TupleEntry#make_expires
make_expires(sec=nil)
lib/rinda/tuplespace.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rinda/tuplespace.rb, line 96
def make_expires(sec=nil)
case sec
when Numeric
Time.now + sec
when true
Time.at(1)
when nil
Time.at(2**31-1)
end
end
Returns an expiry Time based on sec which can be one of: