Sha256: 6ae9e4d2629aeae05f8bd038bed2d600793cb30b3eb9b61957f3509968e3d959
Contents?: true
Size: 496 Bytes
Versions: 16
Compression:
Stored size: 496 Bytes
Contents
# TODO: Figure out a more robust Plugin system # - Needs to handle subclass of subclass..... # - Needs to have better mixin hiearchy module Xcake module Plugin module ClassMethods def repository @repository ||= [] end def inherited(klass) repository << klass end def register_plugin(klass) repository << klass end end def self.included(klass) klass.extend ClassMethods # Somewhat controversial end end end
Version data entries
16 entries across 16 versions & 1 rubygems