mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 09:04:05 +02:00
merge revision(s) 57405:
error.c: fixed doc [ci skip] * error.c (exc_message): fixed doc regarding the presence of to_str. [Fix GH-1517] Author: Marc Gauthier <marcg.gauthier@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
56804d8984
commit
2ca56375fa
2 changed files with 2 additions and 4 deletions
4
error.c
4
error.c
|
@ -880,9 +880,7 @@ exc_to_s(VALUE exc)
|
|||
* exception.message -> string
|
||||
*
|
||||
* Returns the result of invoking <code>exception.to_s</code>.
|
||||
* Normally this returns the exception's message or name. By
|
||||
* supplying a to_str method, exceptions are agreeing to
|
||||
* be used where Strings are expected.
|
||||
* Normally this returns the exception's message or name.
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.4.0"
|
||||
#define RUBY_RELEASE_DATE "2017-03-12"
|
||||
#define RUBY_PATCHLEVEL 32
|
||||
#define RUBY_PATCHLEVEL 33
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2017
|
||||
#define RUBY_RELEASE_MONTH 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue