зеркало из https://github.com/github/ruby.git
* 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:
Родитель
ab337e61ec
Коммит
5363dce938
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче