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