Module: Ruby::Rego::Builtins::RegistryHelpers

Included in:
Collections, Comparisons, Strings
Defined in:
lib/ruby/rego/builtins/registry_helpers.rb

Overview

Shared helpers for registering builtin functions.

Instance Method Summary collapse

Instance Method Details

#register_configured_functions(registry, mapping) ⇒ Object



8
9
10
11
12
# File 'lib/ruby/rego/builtins/registry_helpers.rb', line 8

def register_configured_functions(registry, mapping)
  mapping.each do |name, config|
    register_configured_function(registry, name, config)
  end
end