Sha256: 403c9156ecad82e54138f67cb179822bcf6f0c35f0d5d021db96e2aed611e002
Contents?: true
Size: 437 Bytes
Versions: 4
Compression:
Stored size: 437 Bytes
Contents
module Marvin # An abstract class for an IRC protocol # Parser. Used as a basis for expirimentation. class AbstractParser def self.parse(line) return self.new(line.strip).to_event end def initialize(line) raise NotImplementedError, "Not implemented in an abstract parser" end def to_event raise NotImplementedError, "Not implemented in an abstract parser" end end end
Version data entries
4 entries across 4 versions & 2 rubygems