update to use public api

This commit is contained in:
Dan Allen 2013-03-01 19:53:35 +01:00
parent c0494795c4
commit dc9275d05e

View File

@ -4,4 +4,4 @@
require 'asciidoctor' require 'asciidoctor'
puts Asciidoctor::Document.new("= Asciidoctor\n\nI'm **alive**!".lines.entries, :compact => true).render puts Asciidoctor.render("= Asciidoctor\n\nI'm **alive**!", :header_footer => true, :compact => true)