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)


13
14
15
# File 'lib/arel/nodes/join_source_ext.rb', line 13

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

#hashObject



9
10
11
# File 'lib/arel/nodes/join_source_ext.rb', line 9

def hash
  [*super, aost].hash
end

#initializeObject



4
5
6
7
# File 'lib/arel/nodes/join_source_ext.rb', line 4

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