Sha256: 3cf40e26ca8309fbb6b5edf14e5c3ee48a26ba11e868a1b7b0f36ae72371889f

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

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


module Serienrenamer
    VERSION = '0.0.7'

    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.7 lib/serienrenamer.rb