Fix the method name in a comment [ci skip]
This commit is contained in:
parent
9783cdb0d7
commit
e97dcf53a2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user