Class: Kreuzberg::ChunkingDecisionChunk
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::ChunkingDecisionChunk
- Extended by:
- T::Sig
- Includes:
- ChunkingDecision
- Defined in:
- lib/kreuzberg/native.rb
Overview
Chunk according to plan.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
rubocop:disable Lint/UselessMethodDefinition.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object (readonly)
rubocop:disable Lint/UselessMethodDefinition
4074 4075 4076 |
# File 'lib/kreuzberg/native.rb', line 4074 def value @value end |
Class Method Details
.from_hash(hash) ⇒ Object
4090 4091 4092 |
# File 'lib/kreuzberg/native.rb', line 4090 def self.from_hash(hash) new(value: hash[:_0] || hash["_0"]) end |
Instance Method Details
#chunk? ⇒ Boolean
4084 |
# File 'lib/kreuzberg/native.rb', line 4084 def chunk? = true |
#no_chunking? ⇒ Boolean
4082 |
# File 'lib/kreuzberg/native.rb', line 4082 def no_chunking? = false |
#use_overrides? ⇒ Boolean
4086 4087 4088 |
# File 'lib/kreuzberg/native.rb', line 4086 def use_overrides? = false # @param hash [Hash] deserialized from the native extension # @return [self] |