mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
39a3d1793b
commit
9e84f83736
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed May 30 06:20:29 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* 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@ruby-lang.org>
|
||||
|
||||
* strftime.c (rb_strftime_with_timespec): support GNU extension triple
|
||||
|
|
8
error.c
8
error.c
|
@ -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.
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue