ruby-changes:23786
From: drbrain <ko1@a...>
Date: Wed, 30 May 2012 06:21:01 +0900 (JST)
Subject: [ruby-changes:23786] drbrain:r35837 (trunk): * error.c (exc_set_backtrace): Updated documentation to indicate
drbrain 2012-05-30 06:20:45 +0900 (Wed, 30 May 2012) New Revision: 35837 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35837 Log: * 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] Modified files: trunk/ChangeLog trunk/error.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35836) +++ ChangeLog (revision 35837) @@ -1,3 +1,9 @@ +Wed May 30 06:20:29 2012 Eric Hodel <drbrain@s...> + + * 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] + Tue May 29 17:28:20 2012 Nobuyoshi Nakada <nobu@r...> * strftime.c (rb_strftime_with_timespec): support GNU extension triple Index: error.c =================================================================== --- error.c (revision 35836) +++ error.c (revision 35837) @@ -709,11 +709,11 @@ /* * 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. * */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/