diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-11-14 09:24:00 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-11-14 09:24:00 +0900 |
commit | e97dcf53a2daea113eed4823dced90998d172684 (patch) | |
tree | ca2a5223cc76841f26ea03424f3c5cf46ef62f6e /numeric.rb | |
parent | 9783cdb0d7d13e5e35237230ab224b2dcda6b903 (diff) |
Fix the method name in a comment [ci skip]
Diffstat (limited to 'numeric.rb')
-rw-r--r-- | numeric.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.rb b/numeric.rb index 6b784a877e..27e9951fd3 100644 --- a/numeric.rb +++ b/numeric.rb @@ -330,7 +330,7 @@ class Integer Primitive.attr! :inline_block, :c_trace # When no block is given, return an Enumerator that enumerates from `self` to `to`. - # Not using `block_defined?` and `to_enum` to keep them unaffected by redefinitions. + # Not using `block_given?` and `to_enum` to keep them unaffected by redefinitions. unless defined?(yield) return Primitive.cexpr! 'SIZED_ENUMERATOR(self, 1, &to, int_downto_size)' end |