summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
-rw-r--r--numeric.rb3
1 files changed, 2 insertions, 1 deletions
@@ -243,7 +243,7 @@ class Integer
# call-seq:
# downto(limit) {|i| ... } -> self
- # downto(limit) -> enumerator
#
# Calls the given block with each integer value from +self+ down to +limit+;
# returns +self+:
@@ -268,6 +268,7 @@ class Integer
yield from
from = from.pred
end
end
# call-seq: