stdlib/prime/0/prime.rbs in rbs-0.16.0 vs stdlib/prime/0/prime.rbs in rbs-0.17.0
- old
+ new
@@ -135,10 +135,10 @@
# Concrete subclasses should override succ, next, rewind.
#
class PseudoPrimeGenerator
def initialize: (?Integer?) -> void
- include Enumerable[Integer, void]
+ include Enumerable[Integer]
attr_accessor upper_bound (): Integer?
# Iterates the given block for each prime number.
#