rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Enumerator#initialize support `nil`, `#call` and `#to_int`

Open ksss opened this issue 1 year ago • 0 comments

Argument of Enumerator#initialize allows nil, #call and #to_int object. Included Float::INFINITY in #to_int.

https://github.com/ruby/ruby/blob/ac9e84df3d0b06e62498aafbca99e8f8475ec142/enumerator.c#L437-L451

ksss avatar Jun 21 '24 08:06 ksss