Permalink
Browse files

Quick example.

  • Loading branch information...
1 parent 27539ba commit debca50fe17ff1a70ac891359f75263736d4b54d Francesc Esplugas committed with defunkt Oct 7, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
@@ -41,6 +41,13 @@ in my HTML, or putting JavaScript in my HTML.
Usage
-----
+Quick example:
+
+ >> require 'mustache'
+ => true
+ >> Mustache.render("Hello {{planet}}", :planet => "World!")
+ => "Hello World!"
+
We've got an `examples` folder but here's the canonical one:
class Simple < Mustache

0 comments on commit debca50

Please sign in to comment.