зеркало из https://github.com/github/ruby.git
* NEWS: rand and Random.rand now support range argument [ruby-dev:43427] #4605
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3f5e567a47
Коммит
bad9f40714
6
NEWS
6
NEWS
|
@ -68,12 +68,18 @@ with all sufficient information, see the ChangeLog file.
|
|||
* Kernel
|
||||
* Kernel#respond_to? now returns false for protected methods.
|
||||
* move #__id__ to BasicObject.
|
||||
* extended method:
|
||||
* Kernel#rand supports range argument
|
||||
|
||||
* Module
|
||||
* new methods:
|
||||
* Module#private_constant
|
||||
* Module#public_constant
|
||||
|
||||
* Random
|
||||
* extended method:
|
||||
* Random.rand supports range argument
|
||||
|
||||
* String
|
||||
* extended method:
|
||||
* String#unpack supports endian modifiers
|
||||
|
|
Загрузка…
Ссылка в новой задаче