blob: c0e9fff39915e151ee7326eeab04fd4cf560121a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
module Arel # :nodoc: all
module Collectors
class PlainString
def initialize
@str = +""
end
def value
@str
end
def <<(str)
@str << str
self
end
end
end
end
|