Sha256: 81622196ea59b0f9ed3c75c864d98c2abf4e282c1aa8f49ff442bbfef1224470

Contents?: true

Size: 502 Bytes

Versions: 10

Compression:

Stored size: 502 Bytes

Contents

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

module Arel
  module Nodes
    class Indirection < Arel::Nodes::Binary
    end
  end

  module Visitors
    class ToSql
      def visit_Arel_Nodes_Indirection(o, collector)
        visit(o.left, collector)
        collector << '['
        visit(o.right, collector)
        collector << ']'
      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/indirection.rb
arel_toolkit-0.4.8 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.7 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.6 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.5 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.4 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.3 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.2 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.1 lib/arel/extensions/indirection.rb
arel_toolkit-0.4.0 lib/arel/extensions/indirection.rb