Sha256: c9d8f5e0f3bf12bdeddb5f797a7f0b280859439cb7fb164b8586e60f8b8693be
Contents?: true
Size: 306 Bytes
Versions: 72
Compression:
Stored size: 306 Bytes
Contents
module Volt 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 end
Version data entries
72 entries across 72 versions & 1 rubygems