Module: CoreExtensions::Arel::Nodes::SelectCore

Defined in:
lib/core_extensions/arel/nodes/select_core.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#finalObject

Returns the value of attribute final.



5
6
7
# File 'lib/core_extensions/arel/nodes/select_core.rb', line 5

def final
  @final
end

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


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

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

#sourceObject



7
8
9
10
11
# File 'lib/core_extensions/arel/nodes/select_core.rb', line 7

def source
  return super unless final

  ::Arel::Nodes::Final.new(super)
end