1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/collectors/sql_string.rb
2014-03-25 11:29:41 -07:00

26 lines
346 B
Ruby

module Arel
module Collectors
class SQLString
def initialize
@str = ''
end
def value
@str
end
def << str
@str << str
self
end
def start; self; end
def finish; self; end
def add_bind bind
self << bind
self
end
end
end
end