Module: Arel::Nodes::JoinSourceExt

Defined in:
lib/arel/nodes/join_source_ext.rb

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean Also known as: ==

Returns:

  • (Boolean)


29
30
31
# File 'lib/arel/nodes/join_source_ext.rb', line 29

def eql?(other)
  super && aost == other.aost
end

#hashObject



25
26
27
# File 'lib/arel/nodes/join_source_ext.rb', line 25

def hash
  [*super, aost].hash
end

#initializeObject



20
21
22
23
# File 'lib/arel/nodes/join_source_ext.rb', line 20

def initialize(...)
  super
  @aost = nil
end