Class: Arel::Nodes::Distinct
Instance Method Summary collapse
- #eql?(other) ⇒ Boolean (also: #==)
- #hash ⇒ Object
Methods inherited from Node
#_caller, #and, #each, #initialize, #not, #or, #to_sql
Methods included from FactoryMethods
#create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, #lower
Constructor Details
This class inherits a constructor from Arel::Nodes::Node
Instance Method Details
#eql?(other) ⇒ Boolean Also known as: ==
9 10 11 |
# File 'lib/arel/nodes/terminal.rb', line 9 def eql? other self.class == other.class end |
#hash ⇒ Object
5 6 7 |
# File 'lib/arel/nodes/terminal.rb', line 5 def hash self.class.hash end |