instance method
Psych::Emitter#indentation
emitter.indentation
ext/psych/psych_emitter.c
View on GitHub ↗
static VALUE indentation(VALUE self)
{
yaml_emitter_t * emitter;
TypedData_Get_Struct(self, yaml_emitter_t, &psych_emitter_type, emitter);
return INT2NUM(emitter->best_indent);
}
Get the indentation level.
See also
#indentation=
#end_stream
#end_sequence
#line_width
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0