Sha256: 394c090b43b2a429aeb9c2455d6ef39ba31a737f32299e41d4adbbb919197f37
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
%w[ groups_by/version colorize groups_by/pritifier groups_by/core_grouper pry ].each do |lib| require lib end class GroupsBy include CoreGrouper class << self include Pritifier end # GroupsBy.new.groups_by( # source: DATA, # group_by_rules: [:age_range, :age_range_state, :ad_group_state, :is_negative], # summarizer: nil # ) attr_accessor :source_arr, :group_by_rules, :summarizer def groups_by(source_arr, group_by_rules: [], summarizer: nil) @source_arr = source_arr @group_by_rules = group_by_rules @summarizer = summarizer group(source_arr, group_by_rules) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
groups_by-0.1.1 | lib/groups_by.rb |