Class: Redcarpet::Render::HTML_TOC

Inherits:
Base
  • Object
show all
Defined in:
ext/redcarpet/rc_render.c

Instance Method Summary collapse

Constructor Details

#initializeObject


426
427
428
429
430
431
432
433
434
435
# File 'ext/redcarpet/rc_render.c', line 426

static VALUE rb_redcarpet_htmltoc_init(VALUE self)
{
	struct rb_redcarpet_rndr *rndr;
	Data_Get_Struct(self, struct rb_redcarpet_rndr, rndr);

	sdhtml_toc_renderer(&rndr->callbacks, (struct html_renderopt *)&rndr->options.html);
	rb_redcarpet__overload(self, rb_cRenderHTML_TOC);

	return Qnil;
}