# File lib/arel/nodes/window.rb, line 40 def eql? other self.class == other.class && self.orders == other.orders && self.framing == other.framing end
# File lib/arel/nodes/window.rb, line 19 def frame(expr) @framing = expr end
# File lib/arel/nodes/window.rb, line 36 def hash [@orders, @framing].hash end
# File lib/arel/nodes/window.rb, line 31 def initialize_copy other super @orders = @orders.map { |x| x.clone } end
# File lib/arel/nodes/window.rb, line 11 def order *expr # FIXME: We SHOULD NOT be converting these to SqlLiteral automatically @orders.concat expr.map { |x| String === x || Symbol === x ? Nodes::SqlLiteral.new(x.to_s) : x } self end
Generated with the Darkfish Rdoc Generator 2.