123456789_123456789_123456789_123456789_123456789_

Class: Arel::Collectors::PlainString

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Inherits: Object
Defined in: activerecord/lib/arel/collectors/plain_string.rb

Class Method Summary

Instance Method Summary

Constructor Details

.newPlainString

[ GitHub ]

  
# File 'activerecord/lib/arel/collectors/plain_string.rb', line 6

def initialize
  @str = +""
end

Instance Method Details

#<<(str)

[ GitHub ]

  
# File 'activerecord/lib/arel/collectors/plain_string.rb', line 14

def <<(str)
  @str << str
  self
end

#value

[ GitHub ]

  
# File 'activerecord/lib/arel/collectors/plain_string.rb', line 10

def value
  @str
end