Browse files

fixing readme

  • Loading branch information...
1 parent cffe1f6 commit 50340a44d59c7b611f26e49c5ce43a414c4b1f1d @metakeule committed Oct 10, 2010
Showing with 1 addition and 10 deletions.
  1. +1 −10 README.rdoc
11 README.rdoc
@@ -3,7 +3,7 @@
== Specification of Templates
It is based on the lazy_configtester gem and has the same requirements for a specification.
-Currently only mustache template might be checked.
+Currently only mustache templates might be checked.
== Examples:
@@ -38,15 +38,6 @@ the following template would match the spec
-:name or 'name' is a mandatory sub in the template that should have the placeholders a and b
- { :name => [a,b] }
-the 'a' and 'b' placeholders should have the placeholders 'c' or 'd'
- { ['a', 'b'] => ['c', 'd'] }
-there should be at least one sub and all placeholders should match against /peter/
- {'+' => /peter/}
=== Validation:
In order to check if a template matches the spec, create an instance of LazyTemplatetester and call check on it:

0 comments on commit 50340a4

Please sign in to comment.