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

Included in:
Bits, Codecs, Collections, Comparisons, Crypto, Glob, Graph, JsonPatch, JsonPaths, Jwt, Net, Numbers, Providers::Aws, Regex, Semver, Strings, Times, Units, Uri, Uuid, Yaml
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