aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-01 09:19:09 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-01 09:19:09 -0800
commita1662156b3abb8830f7245bd6e398cf2ca1291d4 (patch)
treef8b4cf18295d4c8da99c9647d55341c17855159f /lib/arel/nodes
parent3446b72ede5232f6cc3b87bf2a9af7cb4ac7f500 (diff)
downloadrails-a1662156b3abb8830f7245bd6e398cf2ca1291d4.tar.gz
rails-a1662156b3abb8830f7245bd6e398cf2ca1291d4.tar.bz2
rails-a1662156b3abb8830f7245bd6e398cf2ca1291d4.zip
we actually want enumerable in Node
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r--lib/arel/nodes/node.rb2
1 files changed, 2 insertions, 0 deletions
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.