Methods

Class/Module Index [+]

Quicksearch

Arel::Nodes::NamedFunction

Attributes

name[RW]

Public Class Methods

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

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 15
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 11
def hash
  super ^ @name.hash
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.