Sha256: 4c0c15f3b9d4b5fef8654ce64c32acdce0d8662a84b49fd007ee308b81b1581b

Contents?: true

Size: 479 Bytes

Versions: 10

Compression:

Stored size: 479 Bytes

Contents

# rubocop:disable Naming/MethodName
# rubocop:disable Naming/UncommunicativeMethodParamName

module Arel
  module Visitors
    class ToSql
      def visit_Arel_Nodes_NamedFunction(o, collector)
        aggregate(o.name, o, collector)
      end
    end

    class Dot
      def visit_Arel_Nodes_NamedFunction(o)
        visit_edge o, 'name'
        function(o)
      end
    end
  end
end

# rubocop:enable Naming/MethodName
# rubocop:enable Naming/UncommunicativeMethodParamName

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arel_toolkit-0.4.9 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.8 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.7 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.6 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.5 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.4 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.3 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.2 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.1 lib/arel/extensions/named_function.rb
arel_toolkit-0.4.0 lib/arel/extensions/named_function.rb