Merge pull request #15 from mdelanno/patch-1

Update README.md
This commit is contained in:
Travis Parks 2014-01-01 06:39:14 -08:00
commit 599dc7a78f
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ The matching braces are required. Notice that they are double curly braces! The
The identifier is used to find a property with a matching name. If you want to print out the object itself, you can use the special identifier `this`.
FormatCompiler compiler = new FormatCompiler();
Generator generator = compiler.Compiler("Hello, {{this}}!!!");
Generator generator = compiler.Compile("Hello, {{this}}!!!");
string result = generator.Render("Bob");
Console.Out.WriteLine(result); // Hello, Bob!!!