rbs
rbs copied to clipboard
Enumerator#initialize support `nil`, `#call` and `#to_int`
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