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-3.0.3 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.2 lib/ohloh_scm/parser/array_writer.rb
ohloh_scm-3.0.1 lib/ohloh_scm/parser/array_writer.rb