Method: Anthropic::Internal::Type::Enum#===

Defined in:
lib/anthropic/internal/type/enum.rb

#===(other) ⇒ Boolean

Parameters:

  • other (Object)

Returns:



57
# File 'lib/anthropic/internal/type/enum.rb', line 57

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