aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--History.txt6
-rw-r--r--lib/arel/nodes/node.rb2
2 files changed, 8 insertions, 0 deletions
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.