Module: Xcake::Plugin::ClassMethods

Includes:
CoreExtensions::ClassDescendants
Defined in:
lib/xcake/plugin.rb

Instance Method Summary collapse

Methods included from CoreExtensions::ClassDescendants

#descendants

Instance Method Details

#load_pluginsObject



10
11
12
13
# File 'lib/xcake/plugin.rb', line 10

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

#plugins_locationObject



15
16
# File 'lib/xcake/plugin.rb', line 15

def plugins_location
end