Exemple #1
0
 public void Init()
 {
     codeBuilder = new RubyCodeBuilder();
     codeBuilder.IndentString = "\t";
 }
Exemple #2
0
 public void IndentPassedToConstructor()
 {
     codeBuilder = new RubyCodeBuilder(2);
     codeBuilder.AppendIndented("abc");
     Assert.AreEqual("\t\tabc", codeBuilder.ToString());
 }