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>
16 17 18 |
# File 'app/models/aranha/address/scheduling.rb', line 16 def expired(time = ::Time.zone.now) all.select { |record| record.expired?(time) } end |