lib/nxt_schema/validators/registry.rb in nxt_schema-0.1.2 vs lib/nxt_schema/validators/registry.rb in nxt_schema-1.0.0
- old
+ new
@@ -1,11 +1,5 @@
module NxtSchema
module Validators
- class Registry
- extend NxtRegistry
-
- VALIDATORS = registry :validators, call: false do
-
- end
- end
+ REGISTRY = NxtRegistry::Registry.new(call: false)
end
end