Class: Expirer::List
- Inherits:
-
Object
- Object
- Expirer::List
- Defined in:
- lib/expirer/list.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.with_expired(&block) ⇒ Object
8 9 10 |
# File 'lib/expirer/list.rb', line 8 def self.with_expired(&block) new.with_expired(&block) end |
Instance Method Details
#with_expired ⇒ Object
12 13 14 15 16 |
# File 'lib/expirer/list.rb', line 12 def with_expired expired(repositories).each do |repository| yield(repository) if include?(repository) end end |