From 546fb3f5879a9da678b76bcc8649ba45376ae705 Mon Sep 17 00:00:00 2001 From: Maxence DELANNOY Date: Wed, 1 Jan 2014 08:49:47 +0100 Subject: [PATCH] Update README.md Little typo in the sample code: Compiler -> Compile --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 90bb8c3..2deefea 100644 --- a/README.md +++ b/README.md @@ -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!!!