diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-29 21:20:45 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-29 21:20:45 +0000 |
commit | 9e84f837365c65afc21071fb431dc4d17154499b (patch) | |
tree | c0c2e9a4e58958603bbedf329a7b1b6089be9d8e /error.c | |
parent | 39a3d1793b67df8ef1aa48e2f813dcac13814544 (diff) | |
download | ruby-9e84f837365c65afc21071fb431dc4d17154499b.tar.gz |
* error.c (exc_set_backtrace): Updated documentation to indicate
set_backtrace allows a string as well as an array of strings.
[ruby-trunk - Bug #6501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -709,11 +709,11 @@ rb_check_backtrace(VALUE bt) /* * call-seq: - * exc.set_backtrace(array) -> array + * exc.set_backtrace(backtrace) -> array * - * Sets the backtrace information associated with <i>exc</i>. The - * argument must be an array of <code>String</code> objects in the - * format described in <code>Exception#backtrace</code>. + * Sets the backtrace information associated with +exc+. The +backtrace+ must + * be an array of String objects or a single String in the format described + * in Exception#backtrace. * */ |