README.md in musterb-0.0.2 vs README.md in musterb-0.0.3
- old
+ new
@@ -1,8 +1,8 @@
# Musterb
-TODO: Write a gem description
+This is a gem that lets you compile mustache to erb so that rails will do all the nice caching and such that it does for ERB.
## Installation
Add this line to your application's Gemfile:
@@ -16,10 +16,15 @@
$ gem install musterb
## Usage
-TODO: Write usage instructions here
+Add this into config/initializers/musterb_handler.rb
+```ruby
+require 'musterb/template_handler'
+
+ActionView::Template.register_template_handler :mustache, Musterb::TemplateHandler
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)