From 3a185ede69ac5845aebbde38dc8e6fbe4f64308a Mon Sep 17 00:00:00 2001 From: tenderlove Date: Wed, 7 Jul 2010 23:05:45 +0000 Subject: * ext/psych/lib/psych/visitors/emitter.rb: sending emit options to YAML emitter. [ruby-core:28318] * ext/psych/emitter.c: updating documentation about emit options * ext/psych/lib/psych/core_ext.rb: ditto * ext/psych/lib/psych.rb (dump): passing emit options to emitter. * ext/psych/lib/psych/nodes/node.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/emitter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/psych/emitter.c') diff --git a/ext/psych/emitter.c b/ext/psych/emitter.c index 0400f7e9ba..189b865ea3 100644 --- a/ext/psych/emitter.c +++ b/ext/psych/emitter.c @@ -435,7 +435,8 @@ static VALUE canonical(VALUE self) /* call-seq: emitter.indentation = level * - * Set the indentation level to +level+. + * Set the indentation level to +level+. The level must be less than 10 and + * greater than 1. */ static VALUE set_indentation(VALUE self, VALUE level) { -- cgit v1.2.3