Module: Turbopuffer::Models::HighlightOffsetUnits

Extended by:
Internal::Type::Enum
Defined in:
lib/turbopuffer/models/highlight_offset_units.rb,
sig/turbopuffer/models/highlight_offset_units.rbs

Overview

The units to report highlighted fragment offsets in.

Constant Summary collapse

UTF_8 =

Returns:

  • (:"utf-8")
:"utf-8"
UTF_16 =

Returns:

  • (:"utf-16")
:"utf-16"
CODEPOINTS =

Returns:

  • (:codepoints)
:codepoints

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/turbopuffer/models/highlight_offset_units.rb', line 13

Instance Method Details

#self?.values::Array[Turbopuffer::Models::highlight_offset_units]

Returns:

  • (::Array[Turbopuffer::Models::highlight_offset_units])


12
# File 'sig/turbopuffer/models/highlight_offset_units.rbs', line 12

def self?.values: -> ::Array[Turbopuffer::Models::highlight_offset_units]