Sha256: 2075202773acf73927e52597ed9cd9442d4d35c3014aa1cb4390ea5149bda418

Contents?: true

Size: 192 Bytes

Versions: 1

Compression:

Stored size: 192 Bytes

Contents

module Arel
  module SqlToArel
    class Result < Array
      def to_sql
        map(&:to_sql).join('; ')
      end

      def map(&block)
        Result.new super
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arel_toolkit-0.4.0 lib/arel/sql_to_arel/result.rb