Sha256: 930ae68e63699d42380e228541a7e32e2de83afaf7ab8709fdb4649f5c3a0880
Contents?: true
Size: 509 Bytes
Versions: 6
Compression:
Stored size: 509 Bytes
Contents
# # Base class for all writers # class CorrectHorseBatteryStaple::Writer::Base < CorrectHorseBatteryStaple::Writer include CorrectHorseBatteryStaple::Common attr_accessor :dest, :options def initialize(dest, options = {}) self.dest = dest self.options = options initialize_backend_variables if respond_to?(:initialize_backend_variables) end def write_corpus(corpus) raise NotImplementedError, "#{self.class.name} is not a complete implementation" end def close end end
Version data entries
6 entries across 6 versions & 1 rubygems