Skip to content

Commit

Permalink
Remove short circuit evaluation and leave AST as it is
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Aug 3, 2011
1 parent 11f929b commit 3712071
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
11 changes: 0 additions & 11 deletions 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
11 changes: 0 additions & 11 deletions 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.