class Arel::Nodes::NamedFunction

Attributes

name[RW]

Public Instance Methods

==(other) click to toggle source
Alias for: eql?
eql?(other) click to toggle source
# File lib/arel/nodes/named_function.rb, line 16
def eql? other
  super && self.name == other.name
end
Also aliased as: ==
hash() click to toggle source
# File lib/arel/nodes/named_function.rb, line 12
def hash
  super ^ @name.hash
end

Public Class Methods

new(name, expr, aliaz = nil) click to toggle source
# File lib/arel/nodes/named_function.rb, line 7
def initialize name, expr, aliaz = nil
  super(expr, aliaz)
  @name = name
end