Method: Psych::Emitter#indentation

Defined in:
ext/psych/psych_emitter.c

#indentationObject

Get the indentation level.



473
474
475
476
477
478
479
# File 'ext/psych/psych_emitter.c', line 473

static VALUE indentation(VALUE self)
{
    yaml_emitter_t * emitter;
    Data_Get_Struct(self, yaml_emitter_t, emitter);

    return INT2NUM(emitter->best_indent);
}