Skip to content

Commit

Permalink
Merge pull request sinatra#319 from gaku/master
Browse files Browse the repository at this point in the history
Incorrect sample code for RDoc.
  • Loading branch information
rkh committed Jul 5, 2011
2 parents 9ad1ff3 + 2bd43c0 commit c6acb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -418,7 +418,7 @@ template than for the layout by passing the <tt>:layout_engine</tt> option.

Dependency:: {rdoc}[http://rdoc.rubyforge.org/]
File Extensions:: <tt>.rdoc</tt>
Example:: <tt>textile :README, :layout_engine => :erb</tt>
Example:: <tt>rdoc :README, :layout_engine => :erb</tt>

It is not possible to call methods from rdoc, nor to pass locals to it. You
therefore will usually use it in combination with another rendering engine:
Expand Down

0 comments on commit c6acb69

Please sign in to comment.