diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-29 15:56:58 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-29 15:56:58 +0000 |
commit | af574c63b593cb489ceccc15a2b38583fa396e76 (patch) | |
tree | ca193ff9b1729ccc0e116accc4a13156281086ea /string.c | |
parent | 78400919bad04fcba0b9dee75b6217933c958fbc (diff) | |
download | ruby-af574c63b593cb489ceccc15a2b38583fa396e76.tar.gz |
* string.c: [DOC] Specify to_s on subclasses [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4877,7 +4877,9 @@ rb_str_to_f(VALUE str) * str.to_s -> str * str.to_str -> str * - * Returns the receiver. + * Returns +self+. + * + * If called on a subclass of String, converts the receiver to a String object. */ static VALUE |