summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
-rw-r--r--numeric.rb2
1 files changed, 2 insertions, 0 deletions
@@ -329,6 +329,8 @@ class Integer
def downto(to) # :nodoc:
Primitive.attr! :inline_block, :c_trace
unless defined?(yield)
return Primitive.cexpr! 'SIZED_ENUMERATOR(self, 1, &to, int_downto_size)'
end