1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

4 commits

Author SHA1 Message Date
Konstantin Haase
7c186a0d48 require "rdoc" -> require "rdoc/markup/to_html"
this file is not loaded but require "rdoc", moreover, we only need markup
2011-02-26 10:44:09 +01:00
elij
e16bc71590 Explicitly handle the exception for failed loading.
The exception handler was only catching RuntimeError, which probably
should not be caught by the harness (so a test fails), when it should
have been catching LoadError exceptions (module not present to test).

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2011-01-31 10:34:41 +01:00
Konstantin Haase
9192432196 fix tests for rdoc 3.0 2010-12-23 12:11:57 +01:00
Konstantin Haase
c248dbac9d Add rdoc helper method. Tilt supports RDoc for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 13:59:00 +02:00