Sha256: 112cebf38821466d817b98f66592527390d39407c0ee0673d8621ec1d9887789

Contents?: true

Size: 289 Bytes

Versions: 22

Compression:

Stored size: 289 Bytes

Contents

module Xcake
  module Plugin
    def self.included(base)
      base.extend ClassMethods
    end

    module ClassMethods
      def load_plugins
        Dir[plugins_location].each { |file| require file }
        descendants
      end

      def plugins_location
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
xcake-0.9.4 lib/xcake/plugin.rb
xcake-0.9.3 lib/xcake/plugin.rb
xcake-0.9.2 lib/xcake/plugin.rb
xcake-0.9.1 lib/xcake/plugin.rb
xcake-0.9.0 lib/xcake/plugin.rb
xcake-0.8.13 lib/xcake/plugin.rb
xcake-0.8.12 lib/xcake/plugin.rb
xcake-0.8.10 lib/xcake/plugin.rb
xcake-0.8.9 lib/xcake/plugin.rb
xcake-0.8.8 lib/xcake/plugin.rb
xcake-0.8.7 lib/xcake/plugin.rb
xcake-0.8.6 lib/xcake/plugin.rb
xcake-0.8.3 lib/xcake/plugin.rb
xcake-0.8.1 lib/xcake/plugin.rb
xcake-0.7.1 lib/xcake/plugin.rb
xcake-0.7.0 lib/xcake/plugin.rb
xcake-0.6.25 lib/xcake/plugin.rb
xcake-0.6.24 lib/xcake/plugin.rb
xcake-0.6.23 lib/xcake/plugin.rb
xcake-0.6.22 lib/xcake/plugin.rb