diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-01 09:19:09 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-01 09:19:09 -0800 |
commit | a1662156b3abb8830f7245bd6e398cf2ca1291d4 (patch) | |
tree | f8b4cf18295d4c8da99c9647d55341c17855159f | |
parent | 3446b72ede5232f6cc3b87bf2a9af7cb4ac7f500 (diff) | |
download | rails-a1662156b3abb8830f7245bd6e398cf2ca1291d4.tar.gz rails-a1662156b3abb8830f7245bd6e398cf2ca1291d4.tar.bz2 rails-a1662156b3abb8830f7245bd6e398cf2ca1291d4.zip |
we actually want enumerable in Node
-rw-r--r-- | History.txt | 6 | ||||
-rw-r--r-- | lib/arel/nodes/node.rb | 2 |
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. |