Sha256: 763e627a2f8c885bb55bdf2755a7d6fe4b0e87c670ecd447f3d3c97f036bfed1
Contents?: true
Size: 265 Bytes
Versions: 31
Compression:
Stored size: 265 Bytes
Contents
module Persistors class StoreFactory def initialize(tasks) @tasks = tasks end def new(model) if model.is_a?(ArrayModel) ArrayStore.new(model, @tasks) else ModelStore.new(model, @tasks) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems