diff options
author | Takashi Kokubun <[email protected]> | 2024-11-13 11:46:29 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2024-11-13 12:27:26 -0800 |
commit | 907146973a7aeb85d1748cb427e87d914d86a3b9 () | |
tree | bb6186abf375985daa67202c23dc6b8441366caa /numeric.rb | |
parent | 01db456196e17eb067f70eb1d4fceba143a51c01 (diff) |
Add a comment about Integer#downto Enumerator
Notes: Merged: https://.com/ruby/ruby/pull/12074
-rw-r--r-- | numeric.rb | 2 |
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 |