Class: Anthropic::Helpers::InputSchema::Boolean Abstract
- Inherits:
-
Internal::Type::Boolean
- Object
- Internal::Type::Boolean
- Anthropic::Helpers::InputSchema::Boolean
- Extended by:
- JsonSchemaConverter
- Defined in:
- lib/anthropic/helpers/input_schema/boolean.rb
Overview
This class is abstract.
Ruby does not have a “boolean” Class, this is something for models to refer to.
Constant Summary
Constants included from JsonSchemaConverter
JsonSchemaConverter::NO_REF, JsonSchemaConverter::POINTERS
Class Method Summary collapse
Methods included from JsonSchemaConverter
assoc_meta!, cache_def!, to_json_schema, to_json_schema_inner, to_nilable
Methods inherited from Internal::Type::Boolean
==, ===, coerce, dump, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Class Method Details
.to_json_schema_inner(state:) ⇒ Hash{Symbol=>Object}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 |
# File 'lib/anthropic/helpers/input_schema/boolean.rb', line 23 def self.to_json_schema_inner(state:) = {type: "boolean"} |