Sha256: f7fefebce472c72a1f0bc0d8ce871bb998c3c035d574540ac22d8b13248b8751

Contents?: true

Size: 720 Bytes

Versions: 1

Compression:

Stored size: 720 Bytes

Contents

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


module Serienrenamer
    VERSION = '0.0.10'

    require 'serienrenamer/episode.rb'
    require 'serienrenamer/information_store.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.10 lib/serienrenamer.rb