Sha256: 8c74a4ebda8b1d32c46588abacb42c9abadf028af105b2b92059bcb87d81c606
Contents?: true
Size: 217 Bytes
Versions: 22
Compression:
Stored size: 217 Bytes
Contents
module Unipept class OutputWriter attr_reader :output def initialize(file) @output = file ? File.open(file, 'a') : $stdout end def write_line(line) @output.write line end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
unipept-0.10.0 | lib/output_writer.rb |
unipept-0.9.0 | lib/output_writer.rb |