Maintenance Ruby 3.3 gets fixes, but no new features. 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.3.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: