Sha256: 1b86eb04230f341bed4402d980a27d6772c23615599644166bf1cb7bcafdcf10

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))


module Serienrenamer
    VERSION = '0.0.1'

    require 'serienrenamer/episode.rb'

    class Pluginbase

        class << self; attr_reader :registered_plugins end
            @registered_plugins = []

        # if you inherit from this class, the child
        # gets added to the "registered plugins" array
        def self.inherited(child)
            Pluginbase.registered_plugins << child
        end

        def self.plugin_name; "PluginBase" end

        def self.to_s
            self.plugin_name
        end
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
serienrenamer-0.0.1 lib/serienrenamer.rb