aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/named_function.rb
blob: 5fca33e3231aaaf7397d4a1d0e1b3d9faea31950 (plain) (tree)
1
2
3
4
5
6
7




                                               

                                






                                            
module Arel
  module Nodes
    class NamedFunction < Arel::Nodes::Function
      attr_accessor :name

      include Arel::Predications

      def initialize name, expr, aliaz = nil
        super(expr, aliaz)
        @name = name
      end
    end
  end
end