diff options
-rw-r--r-- | lib/arel/algebra/header.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/algebra/header.rb b/lib/arel/algebra/header.rb index 9954da5b65..3b8aea3422 100644 --- a/lib/arel/algebra/header.rb +++ b/lib/arel/algebra/header.rb @@ -9,8 +9,8 @@ module Arel end end - def each(&block) - to_ary.each(&block) + def each + to_ary.each { |e| yield e } self end |