Module: CoreExtensions::Arel::Nodes::SelectStatement

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#settingsObject

Returns the value of attribute settings.



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

def settings
  @settings
end

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/core_extensions/arel/nodes/select_statement.rb', line 12

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

#initialize(relation = nil) ⇒ Object



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

def initialize(relation = nil)
  super
  @settings = nil
end