Sha256: 4252a3ab389837012eae01d6eaca4e83cfb5660a89e9dd557edbe27b9cbc7f8d
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require 'rom/mapper' module ROM # Abstract processor class # # Every ROM processor should inherit from this class # # @public class Processor # Hook used to auto-register a processor class # # @api private def self.inherited(processor) Mapper.register_processor(processor) end # Required interface to be implemented by descendants # # @return [Processor] # # @abstract # # @api private def self.build raise NotImplementedError, "+build+ must be implemented" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-0.5.0 | lib/rom/processor.rb |