Class: SplitIoClient::Cache::Stores::LocalhostSplitBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/splitclient-rb/cache/stores/localhost_split_builder.rb

Class Method Summary collapse

Class Method Details

.build_splits(splits) ⇒ Object



8
9
10
11
12
# File 'lib/splitclient-rb/cache/stores/localhost_split_builder.rb', line 8

def build_splits(splits)
  splits.map do |feature, treatments|
    build_split(feature, treatments)
  end
end