README.md in render_me_pretty-0.1.0 vs README.md in render_me_pretty-0.2.0
- old
+ new
@@ -37,10 +37,16 @@
```ruby
erb = RenderMePretty::Erb.new("/path/to/tempate.erb", a: 3) }
erb.render(a: 4)
```
-A few more examples are in the [erb_spec.rb](spec/lib/erb_spec.rb)
+There's also a convenience class method:
+
+```ruby
+RenderMePretty.result("/path/to/tempate.erb", a: 5)
+```
+
+A few more examples are in the [erb_spec.rb](spec/lib/render_me_pretty/erb_spec.rb)
## Installation
Add this line to your application's Gemfile: