values =

in lib/anthropic/internal/type/enum.rb [48:68]


        def values = (@values ||= constants.map { const_get(_1) })

        
        
        
        private def finalize! = values

        
        
        
        def ===(other) = values.include?(other)

        
        
        
        def ==(other)
          
          other.is_a?(Module) && other.singleton_class <= Anthropic::Internal::Type::Enum && other.values.to_set == values.to_set
          
        end