Module: Xcake::Plugin::ClassMethods
- Includes:
- CoreExtensions::ClassDescendants
- Defined in:
- lib/xcake/plugin.rb
Instance Method Summary collapse
Methods included from CoreExtensions::ClassDescendants
Instance Method Details
#load_plugins ⇒ Object
10 11 12 13 |
# File 'lib/xcake/plugin.rb', line 10 def load_plugins Dir[plugins_location].each { |file| require file } descendants end |
#plugins_location ⇒ Object
15 16 |
# File 'lib/xcake/plugin.rb', line 15 def plugins_location end |