Sha256: d2b1bff3a19b0d6e7605e19589668a8251f95faaeeb692e27b19126d000b8ef5

Contents?: true

Size: 205 Bytes

Versions: 190

Compression:

Stored size: 205 Bytes

Contents

module ImportFile
  def self.included(base)
    base.extend ClassMethods
  end

  module ClassMethods
    def expire
      self.stucked.find_each do |file|
        file.destroy
      end
    end
  end
end

Version data entries

190 entries across 161 versions & 8 rubygems

Version Path
enju_event-0.1.19 lib/enju_event/import_file.rb
enju_event-0.1.18 lib/enju_event/import_file.rb
enju_event-0.1.17 lib/enju_event/import_file.rb
enju_event-0.1.17.pre27 lib/enju_event/import_file.rb
enju_event-0.1.17.pre26 lib/enju_event/import_file.rb
enju_event-0.1.17.pre25 lib/enju_event/import_file.rb
enju_event-0.1.17.pre24 lib/enju_event/import_file.rb
enju_event-0.1.17.pre23 lib/enju_event/import_file.rb
enju_event-0.1.17.pre22 lib/enju_event/import_file.rb
enju_event-0.1.17.pre21 lib/enju_event/import_file.rb
enju_event-0.1.17.pre20 lib/enju_event/import_file.rb
enju_event-0.1.17.pre19 lib/enju_event/import_file.rb
enju_event-0.1.17.pre18 lib/enju_event/import_file.rb
enju_leaf-1.1.0.rc10 lib/enju_leaf/import_file.rb
enju_event-0.1.17.pre17 lib/enju_event/import_file.rb
enju_event-0.1.17.pre16 lib/enju_event/import_file.rb
enju_seed-0.1.1.pre9 lib/enju_seed/import_file.rb
enju_event-0.1.17.pre15 lib/enju_event/import_file.rb
enju_event-0.1.17.pre14 lib/enju_event/import_file.rb
enju_seed-0.1.1.pre8 lib/enju_seed/import_file.rb