aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/document.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/document.rb')
-rw-r--r--lib/rexml/document.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb
index 619a844257..ee3e58dd2b 100644
--- a/lib/rexml/document.rb
+++ b/lib/rexml/document.rb
@@ -157,8 +157,9 @@ module REXML
# document will be written.
# indent::
# An integer. If -1, no indenting will be used; otherwise, the
- # indentation will be this number of spaces, and children will be
- # indented an additional amount. Defaults to -1
+ # indentation will be twice this number of spaces, and children will be
+ # indented an additional amount. For a value of 3, every item will be
+ # indented 3 more levels, or 6 more spaces (2 * 3). Defaults to -1
# transitive::
# If transitive is true and indent is >= 0, then the output will be
# pretty-printed in such a way that the added whitespace does not affect