Permalink
Browse files

Remove short circuit evaluation and leave AST as it is

  • Loading branch information...
1 parent 11f929b commit 3712071148485a8a6f2e28944f1d4932ce72b4bd @dcadenas dcadenas committed Aug 3, 2011
Showing with 0 additions and 22 deletions.
  1. +0 −11 lib/arel/nodes/false.rb
  2. +0 −11 lib/arel/nodes/true.rb
View
11 lib/arel/nodes/false.rb
@@ -1,17 +1,6 @@
module Arel
module Nodes
class False < Arel::Nodes::Node
- def not
- True.new
- end
-
- def or right
- right
- end
-
- def and right
- self
- end
end
end
end
View
11 lib/arel/nodes/true.rb
@@ -1,17 +1,6 @@
module Arel
module Nodes
class True < Arel::Nodes::Node
- def not
- False.new
- end
-
- def or right
- self
- end
-
- def and right
- right
- end
end
end
end

0 comments on commit 3712071

Please sign in to comment.