class Arel::Nodes::NamedFunction
Attributes
name[RW]
Public Class Methods
new(name, expr, aliaz = nil)
click to toggle source
Calls superclass method
Arel::Nodes::Function.new
# File lib/arel/nodes/named_function.rb, line 6 def initialize name, expr, aliaz = nil super(expr, aliaz) @name = name end
Public Instance Methods
eql?(other)
click to toggle source
Calls superclass method
Arel::Nodes::Function#eql?
# File lib/arel/nodes/named_function.rb, line 15 def eql? other super && self.name == other.name end
Also aliased as: ==
hash()
click to toggle source
Calls superclass method
Arel::Nodes::Function#hash
# File lib/arel/nodes/named_function.rb, line 11 def hash super ^ @name.hash end