End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Psych::Emitter#end_stream
emitter.end_stream
ext/psych/psych_emitter.c
View on GitHub ↗
static VALUE end_stream(VALUE self)
{
yaml_emitter_t * emitter;
yaml_event_t event;
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
yaml_stream_end_event_initialize(&event);
emit(emitter, &event);
return self;
}
End a stream emission
See also
#end_sequence
#indentation
#end_mapping
#indentation=
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0