From a1662156b3abb8830f7245bd6e398cf2ca1291d4 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 1 Dec 2010 09:19:09 -0800 Subject: we actually want enumerable in Node --- History.txt | 6 ++++++ lib/arel/nodes/node.rb | 2 ++ 2 files changed, 8 insertions(+) diff --git a/History.txt b/History.txt index fa08015903..b77563e0b5 100644 --- a/History.txt +++ b/History.txt @@ -1,3 +1,9 @@ +== 2.1.0 (unreleased) + +* Enhancements + + * AST is now Enumerable + == 2.0.6 12/01/2010 * Bug Fixes diff --git a/lib/arel/nodes/node.rb b/lib/arel/nodes/node.rb index 4e182d2850..634e580a8f 100644 --- a/lib/arel/nodes/node.rb +++ b/lib/arel/nodes/node.rb @@ -3,6 +3,8 @@ module Arel ### # Abstract base class for all AST nodes class Node + include Enumerable + ### # Factory method to create a Nodes::Not node that has the recipient of # the caller as a child. -- cgit v1.2.3