README.rdoc in malt-0.2.0 vs README.rdoc in malt-0.3.0
- old
+ new
@@ -16,10 +16,10 @@
== SYNOPSIS
=== Functional API
- Malt.render(:file=>'foo.erb', :format=>:html, :data=>data)
+ Malt.render(:file=>'foo.erb', :to=>:html, :data=>data)
Where +data+ is a data source of some type. Malt will see
that the file is an ERB template and render it accordingly.
The output of this call will be the HTML String.