mustache_json 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|