Sha256: 579bb8d6c9010349ae4fdf59517da0e7cd381215e7265288a4e58ca3c7a7d5e5

Contents?: true

Size: 157 Bytes

Versions: 9

Compression:

Stored size: 157 Bytes

Contents

class Kommando::Buffer

  def initialize
    @buffer = []
  end

  def append(string)
    @buffer << string
  end

  def to_s
    @buffer.join ""
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kommando-0.0.10 lib/kommando/buffer.rb
kommando-0.0.9 lib/kommando/buffer.rb
kommando-0.0.8 lib/kommando/buffer.rb
kommando-0.0.7 lib/kommando/buffer.rb
kommando-0.0.6 lib/kommando/buffer.rb
kommando-0.0.5 lib/kommando/buffer.rb
kommando-0.0.4 lib/kommando/buffer.rb
kommando-0.0.3 lib/kommando/buffer.rb
kommando-0.0.2 lib/kommando/buffer.rb