aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-08-03 17:03:55 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-08-03 17:03:55 -0700
commitac4fe778577c8b1eea641ef04b4d2b81fc54694d (patch)
treeaac97ab7016466ea5023de44dc8ecb4734d68618 /lib/arel/nodes
parentc9517c1b62e7d8acd5a45f72b148942ff2f549a7 (diff)
parent3712071148485a8a6f2e28944f1d4932ce72b4bd (diff)
downloadrails-ac4fe778577c8b1eea641ef04b4d2b81fc54694d.tar.gz
rails-ac4fe778577c8b1eea641ef04b4d2b81fc54694d.tar.bz2
rails-ac4fe778577c8b1eea641ef04b4d2b81fc54694d.zip
Merge pull request #56 from dcadenas/master
Add nodes that represent boolean constants
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r--lib/arel/nodes/false.rb6
-rw-r--r--lib/arel/nodes/true.rb6
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/arel/nodes/false.rb b/lib/arel/nodes/false.rb
new file mode 100644
index 0000000000..611e19633b
--- /dev/null
+++ b/lib/arel/nodes/false.rb
@@ -0,0 +1,6 @@
+module Arel
+ module Nodes
+ class False < Arel::Nodes::Node
+ end
+ end
+end
diff --git a/lib/arel/nodes/true.rb b/lib/arel/nodes/true.rb
new file mode 100644
index 0000000000..63dd5562e1
--- /dev/null
+++ b/lib/arel/nodes/true.rb
@@ -0,0 +1,6 @@
+module Arel
+ module Nodes
+ class True < Arel::Nodes::Node
+ end
+ end
+end