Module: Aranha::Address::Scheduling::ClassMethods
- Defined in:
- app/models/aranha/address/scheduling.rb
Instance Method Summary collapse
Instance Method Details
#expired(time = ::Time.zone.now) ⇒ Array<Aranha::Address>
18 19 20 |
# File 'app/models/aranha/address/scheduling.rb', line 18 def expired(time = ::Time.zone.now) all.select { |record| record.expired?(time) } end |