Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Psych::Emitter#end_mapping
emitter.end_mapping
ext/psych/psych_emitter.c
View on GitHub ↗
static VALUE end_mapping(VALUE self)
{
yaml_emitter_t * emitter;
yaml_event_t event;
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
yaml_mapping_end_event_initialize(&event);
emit(emitter, &event);
return self;
}
Emit the end of a mapping.
See also
#end_document
#end_sequence
#canonical=
#end_stream
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0