class Arel::Nodes::NamedWindow

Attributes

name[RW]

Public Class Methods

new(name) click to toggle source
Calls superclass method Arel::Nodes::Window.new
# File lib/arel/nodes/window.rb, line 69
def initialize name
  super()
  @name = name
end

Public Instance Methods

==(other)
Alias for: eql?
eql?(other) click to toggle source
Calls superclass method Arel::Nodes::Window#eql?
# File lib/arel/nodes/window.rb, line 83
def eql? other
  super && self.name == other.name
end
Also aliased as: ==
hash() click to toggle source
Calls superclass method Arel::Nodes::Window#hash
# File lib/arel/nodes/window.rb, line 79
def hash
  super ^ @name.hash
end
initialize_copy(other) click to toggle source
Calls superclass method Arel::Nodes::Window#initialize_copy
# File lib/arel/nodes/window.rb, line 74
def initialize_copy other
  super
  @name = other.name.clone
end