зеркало из https://github.com/github/ruby.git
Update rdoc of Integer#[] (fix -> int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
02107a91c8
Коммит
b530f58647
|
@ -4035,10 +4035,10 @@ rb_int_rshift(VALUE x, VALUE y)
|
|||
/*
|
||||
* Document-method: Integer#[]
|
||||
* call-seq:
|
||||
* fix[n] -> 0, 1
|
||||
* int[n] -> 0, 1
|
||||
*
|
||||
* Bit Reference---Returns the +n+th bit in the binary representation of
|
||||
* +fix+, where <code>fix[0]</code> is the least significant bit.
|
||||
* +int+, where <code>int[0]</code> is the least significant bit.
|
||||
*
|
||||
* For example:
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче