aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/collectors/sql_string.rb
blob: 45001bb50789ae4b60aec00d09092340f256edf0 (plain) (tree)
1
2

                 















                    
                       
                         

            



                     


       
# encoding: utf-8

module Arel
  module Collectors
    class SQLString
      def initialize
        @str = ''
      end

      def value
        @str
      end

      def << str
        @str << str
        self
      end

      def add_bind bind
        self << bind.to_s
        self
      end

      def compile bvs
        value
      end
    end
  end
end