Method: Rinda::TupleBag#has_expires?
- Defined in:
- lib/rinda/tuplespace.rb
#has_expires? ⇒ Boolean
true
if the TupleBag to see if it has any expired entries.
323 324 325 326 327 |
# File 'lib/rinda/tuplespace.rb', line 323 def has_expires? @enum.find do |tuple| tuple.expires end end |