D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
arel-6.0.4
/
lib
/
arel
/
nodes
/
Filename :
named_function.rb
back
Copy
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