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
- .new ⇒ PlainString constructor
Instance Method Summary
Constructor Details
.new ⇒ PlainString
# 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