lib/nxt_registry.rb in nxt_registry-0.1.1 vs lib/nxt_registry.rb in nxt_registry-0.1.2
- old
+ new
@@ -6,13 +6,13 @@
require "nxt_registry/nested_registry_builder"
require "nxt_registry/registry"
require "nxt_registry/recursive_registry"
module NxtRegistry
- def registry(name, &config)
- Registry.new(name, &config)
+ def registry(name, **options, &config)
+ Registry.new(name, **options, &config)
end
- def recursive_registry(name, &config)
- RecursiveRegistry.new(name, &config)
+ def recursive_registry(name, **options, &config)
+ RecursiveRegistry.new(name, **options, &config)
end
end