README.md in render_me_pretty-0.8.0 vs README.md in render_me_pretty-0.8.1
- old
+ new
@@ -45,9 +45,15 @@
```ruby
RenderMePretty.result("/path/to/tempate.erb", a: 5)
```
+### Layout Support
+
+```ruby
+RenderMePretty.result("/path/to/tempate.erb", layout: "/path/to/layout.erb")
+```
+
### Custom Context
```ruby
person = Person.new("tung")
erb = RenderMePretty::Erb.new("/path/to/tempate.erb", a: 3, context: person) } # passing context here