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.0.26 lib/enju_event/import_file.rb
enju_circulation-0.0.67 spec/dummy/lib/enju_leaf/import_file.rb
enju_core-0.0.2 lib/enju_core/import_file.rb
enju_event-0.0.25 lib/enju_event/import_file.rb
enju_circulation-0.0.66 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.1.12 lib/enju_event/import_file.rb
enju_circulation-0.0.65 spec/dummy/lib/enju_leaf/import_file.rb
enju_bookmark-0.0.21 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.64 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.63 spec/dummy/lib/enju_leaf/import_file.rb
enju_bookmark-0.0.20 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.62 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.1.11 lib/enju_event/import_file.rb
enju_circulation-0.0.61 spec/dummy/lib/enju_leaf/import_file.rb
enju_core-0.0.1 lib/enju_core/import_file.rb
enju_circulation-0.0.60 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.59 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.58 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.57 spec/dummy/lib/enju_leaf/import_file.rb
enju_bookmark-0.0.19 spec/dummy/lib/enju_leaf/import_file.rb