diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-07 23:05:45 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-07-07 23:05:45 +0000 |
commit | 3a185ede69ac5845aebbde38dc8e6fbe4f64308a (patch) | |
tree | ccab9d64513867618fef559087c6c2fdcc8de72c /ext/psych/emitter.c | |
parent | a5d37d10a9e18952badcf821679104613590e779 (diff) | |
download | ruby-3a185ede69ac5845aebbde38dc8e6fbe4f64308a.tar.gz |
* 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
Diffstat (limited to 'ext/psych/emitter.c')
-rw-r--r-- | ext/psych/emitter.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |