class Arel::Nodes::NamedWindow

Attributes

name[RW]

Public Instance Methods

==(other) click to toggle source
Alias for: eql?
eql?(other) click to toggle source
# File lib/arel/nodes/window.rb, line 84
def eql? other
  super && self.name == other.name
end
Also aliased as: ==
hash() click to toggle source
# File lib/arel/nodes/window.rb, line 80
def hash
  super ^ @name.hash
end
initialize_copy(other) click to toggle source
# File lib/arel/nodes/window.rb, line 75
def initialize_copy other
  super
  @name = other.name.clone
end

Public Class Methods

new(name) click to toggle source
# File lib/arel/nodes/window.rb, line 70
def initialize name
  super()
  @name = name
end