From 334e5cb68f6364be283a566f35079914ac4236ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa?= Date: Sat, 20 Sep 2014 16:14:47 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee4173b..8eb583a 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ assert(inspect(t5, {depth = 2}) == [[{ `options.depth` defaults to infinite (`math.huge`). -### options.newline & options.indent +#### options.newline & options.indent These are the strings used by `inspect` to respectively add a newline and indent each level of a table. @@ -142,7 +142,7 @@ assert(inspect(t) == [[{ assert(inspect(t, {newline='@', indent="++"}), "{@++a = {@++++b = 1@++}@}" ``` -### options.process +#### options.process `options.process` is a function which allow altering the passed object before transforming it into a string. A typical way to use it would be to remove certain values so that they don't appear at all.