Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.371 kB
module Arel
module Nodes
class NamedFunction < Arel::Nodes::Function
attr_accessor :name
def initialize name, expr, aliaz = nil
super(expr, aliaz)
@name = name
end
def hash
super ^ @name.hash
end
def eql? other
super && self.name == other.name
end
alias :== :eql?
end
end
end
Jump to Line
Something went wrong with that request. Please try again.