We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaf0693 commit 365e144Copy full SHA for 365e144
lib/bitarray-array.rb
@@ -27,7 +27,7 @@ def [](position)
27
28
# Iterate over each bit
29
def each
30
- return to_enum(:each) unless block_given?
+ return to_enum unless block_given?
31
@size.times { |position| yield self[position] }
32
end
33
0 commit comments