aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/false.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/false.rb')
-rw-r--r--lib/arel/nodes/false.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/arel/nodes/false.rb b/lib/arel/nodes/false.rb
index 26b4e5db97..58132a2f90 100644
--- a/lib/arel/nodes/false.rb
+++ b/lib/arel/nodes/false.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Arel
module Nodes
- class False < Arel::Nodes::Node
+ class False < Arel::Nodes::NodeExpression
def hash
self.class.hash
end
@@ -9,6 +9,7 @@ module Arel
def eql? other
self.class == other.class
end
+ alias :== :eql?
end
end
end