mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c: fix document of Kernel.Stirng by @suzukaze
[fix GH-743][ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab337e61ec
commit
5363dce938
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 4 12:33:44 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* object.c: fix document of Kernel.Stirng by @suzukaze
|
||||
[fix GH-743][ci skip]
|
||||
|
||||
Tue Nov 4 12:21:45 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/csv.rb: added documentation for skip_blanks option by @decasia
|
||||
|
|
5
object.c
5
object.c
|
@ -3018,8 +3018,9 @@ rb_String(VALUE val)
|
|||
* call-seq:
|
||||
* String(arg) -> string
|
||||
*
|
||||
* Converts <i>arg</i> to a <code>String</code> by calling its
|
||||
* <code>to_s</code> method.
|
||||
* Returns <i>arg</i> as an <code>String</code>.
|
||||
*
|
||||
* First tries to call its <code>to_str</code> method, then its <code>to_s</code> method.
|
||||
*
|
||||
* String(self) #=> "main"
|
||||
* String(self.class) #=> "Object"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue