Skip to content

Commit 112870b

Browse files
jaribbanker
authored andcommitted
Get rid of missing parentheses warning.
1 parent 9d2f3fb commit 112870b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bson/ordered_hash.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def delete_if(&block)
126126
def reject(&block)
127127
clone = self.clone
128128
return clone unless block_given?
129-
clone.delete_if &block
129+
clone.delete_if(&block)
130130
end
131131

132132
def clear

0 commit comments

Comments
 (0)