Sha256: 46063a60ddeb76a8cb2f6e4eaba8fa2698f6a75e184ce8d57b45f35f89d1aef3
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
module Cellect module Server class GroupedLoader < Loader def run_load!(set) Cellect::Server.adapter.load_data_for(workflow.name) do |hash| set[hash['group_id']] ||= workflow.set_klass.new set[hash['group_id']].add hash['id'], hash['priority'] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cellect-server-3.0.2 | lib/cellect/server/grouped_loader.rb |
cellect-server-3.0.1 | lib/cellect/server/grouped_loader.rb |
cellect-server-3.0.0 | lib/cellect/server/grouped_loader.rb |