Module: Leftovers::ProcessorBuilders::Dynamic

Defined in:
lib/leftovers/processor_builders/dynamic.rb

Class Method Summary collapse

Class Method Details

.build(dynamic_rules) ⇒ Object



7
8
9
10
11
# File 'lib/leftovers/processor_builders/dynamic.rb', line 7

def build(dynamic_rules)
  Each.each_or_self(dynamic_rules) do |dynamic|
    build_processors(**dynamic)
  end
end