stdlib/prime/0/prime.rbs in rbs-1.0.0.pre vs stdlib/prime/0/prime.rbs in rbs-1.0.0.pre2
- old
+ new
@@ -40,9 +40,15 @@
# for factorizing an integer which is not large but has many prime factors.
# e.g. for Prime#prime? .
#
#
class Prime
+ include Singleton
+
+ include Enumerable[Integer]
+
+ extend Enumerable[Integer]
+
# Iterates the given block over all prime numbers.
#
# ## Parameters
#
# `ubound`