Sha256: adfd3cdd1032946ab00058da49675d825c9b31c1786df24a5275ce10c7acf5f3

Contents?: true

Size: 229 Bytes

Versions: 23

Compression:

Stored size: 229 Bytes

Contents

# frozen_string_literal: true

module OhlohScm
  class ArrayWriter
    attr_accessor :buffer

    def initialize(buffer = [])
      @buffer = buffer
    end

    def write_commit(commit)
      @buffer << commit
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ohloh_scm-4.0.4 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-4.0.3 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-4.0.2 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-4.0.1 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.21 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.19 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.17 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.16 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.15 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.14 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.13 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.12 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.11 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.10 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.9 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.8 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.7 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.6 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.5 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.4 lib/ohloh_scm/parser/array_writer.rb