Sha256: fbc8cd9b04916c681cd5d28e7b70a7396237a96d68c394ba5b54cba4d284ff47
Contents?: true
Size: 614 Bytes
Versions: 71
Compression:
Stored size: 614 Bytes
Contents
module Docman module Taggers class Tagger < Docman::Command @@taggers = {} #todo: docroot config in separate repos for projects def self.create(params, context = nil, caller = nil) c = @@taggers[params['handler']] if c c.new(params, context, caller, 'tagger') else raise "Bad tagger type: #{type}" end end def self.register_tagger(name) @@taggers[name] = self end def initialize(params, context = nil, caller = nil, type = nil) super(params, context, caller, type) end end end end
Version data entries
71 entries across 71 versions & 1 rubygems