Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Nov 20, 2009
1 parent ba99df6 commit 11efd53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -26,7 +26,7 @@ You can also use the `convert` class method to output HTML:

puts RbST.convert('/some/file.rst')

Arguments can be passed to `#to_html`, `#to_latex` and `convert` and are simply converted into command line options, accepting symbols or strings for options without arguments and hashes of strings or symbols for options with arguments.
Arguments can be passed to `#to_html`, `#to_latex` `new` or `convert` and are simply converted into command line options, accepting symbols or strings for options without arguments and hashes of strings or symbols for options with arguments.

puts RbST.new(".. a comment").to_html('strip-comments')
# => '<div class="document">\n</div>'
Expand Down

0 comments on commit 11efd53

Please sign in to comment.