aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/collectors/plain_string.rb
blob: 2505bc376efa95ef57ec77fd79347b8805fb45c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Arel
  module Collectors
    class PlainString
      def initialize
        @str = ''
      end

      def value
        @str
      end

      def << str
        @str << str
        self
      end
    end
  end
end