A helper function to more easily specify the variable's type.
auto builder = new CodeBuilder(); builder.addVariable!int("six", (b){b.put("6");}); builder.data.should.equal("int six = 6;\n");
See Implementation
A helper function to more easily specify the variable's type.