class OhlohScm::ArrayWriter

Attributes

buffer[RW]

Public Class Methods

new(buffer = []) click to toggle source
# File lib/ohloh_scm/parser/array_writer.rb, line 7
def initialize(buffer = [])
  @buffer = buffer
end

Public Instance Methods

write_commit(commit) click to toggle source
# File lib/ohloh_scm/parser/array_writer.rb, line 11
def write_commit(commit)
  @buffer << commit
end