Sha256: b581ba6941fbfdaaeb5473ad3d4d9ec28aa6bba6c968786039025dcff02bb7ca

Contents?: true

Size: 256 Bytes

Versions: 5

Compression:

Stored size: 256 Bytes

Contents

# 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

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/plain_string.rb
spiral_form-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/plain_string.rb
nullifyable-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/collectors/plain_string.rb
arel-9.0.0 lib/arel/collectors/plain_string.rb
arel-8.0.0 lib/arel/collectors/plain_string.rb