values = constants.map { const_get

in lib/openai/internal/type/enum.rb [48:63]


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

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

        
        
        
        def ==(other)
          
          OpenAI::Internal::Type::Enum === other && other.values.to_set == values.to_set
          
        end