Sha256: ea944762f9b4e2c180588b6eb359baf377121c9b71aef65ab5e6ab0696318516
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
module RailsIdle module Storage class Base def add(path, execution_time = nil) add_to_list path end def get(path, key) raise NotImplementedError end def reset(path) raise NotImplementedError end def objects_list @objects_list ||= empty_list end private def empty_list [] end def add_to_list(path) objects_list << path end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-idle-0.0.10 | lib/rails-idle/storage/base.rb |
rails-idle-0.0.9 | lib/rails-idle/storage/base.rb |