aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/named_function.rb
blob: 56669bf85853a51835434cd5be83fa6965885ce0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
module Arel
  module Nodes
    class NamedFunction < Arel::Nodes::Function
      attr_accessor :name

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