aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/collectors/sql_string.rb
blob: 8ca89ca7bd4291863b7f3668ef1057fff75e6297 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# encoding: utf-8

require 'arel/collectors/plain_string'

module Arel
  module Collectors
    class SQLString < PlainString
      def add_bind bind
        self << bind.to_s
        self
      end

      def compile bvs
        value
      end
    end
  end
end