lib/kind/validator.rb in kind-3.1.0 vs lib/kind/validator.rb in kind-4.0.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true module Kind module Validator - DEFAULT_STRATEGIES = Set.new(%w[instance_of kind_of]).freeze + DEFAULT_STRATEGIES = ::Set.new(%w[instance_of kind_of]).freeze class InvalidDefinition < ArgumentError OPTIONS = 'Options to define one: :of, :is, :respond_to, :instance_of, :array_of or :array_with'.freeze def initialize(attribute)