module RedCloth class TextileDoc # # Generates DocBook from the Textile contents. # # RedCloth.new( "And then? She *fell*!" ).to_rdoc # #=> "And then? She fell!" # def to_rdoc(*rules) apply_rules(rules) to(RedCloth::Formatters::RDoc) end end end