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 51 def initialize name super() @name = name end
Public Instance Methods
eql?(other)
click to toggle source
Calls superclass method
Arel::Nodes::Window#eql?
# File lib/arel/nodes/window.rb, line 65 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 61 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 56 def initialize_copy other super @name = other.name.clone end