mustache_json 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +8 -0
- data/VERSION +1 -1
- metadata +1 -1
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -4,6 +4,14 @@ The <tt>mustache_json</tt> gem provides a simple way to encode Mustaches
|
|
4
4
|
into JSON for cross-compatibility with other Mustache rendering libraries
|
5
5
|
such as mustache.js (http://github.com/janl/mustache.js).
|
6
6
|
|
7
|
+
== Installation
|
8
|
+
|
9
|
+
Mustache JSON is available as a gem on Gemcutter:
|
10
|
+
|
11
|
+
gem install mustache_json
|
12
|
+
|
13
|
+
== Usage
|
14
|
+
|
7
15
|
It extends Mustache in a simple way such that all public instance methods
|
8
16
|
declared in your Mustache will be automatically serialized into json when
|
9
17
|
the <tt>#to_json</tt> method is called. Any context variables that have
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|