Module: RakeCommander::Base::ClassMethods
- Defined in:
- lib/rake-commander/base.rb
Instance Method Summary collapse
-
#self_load ⇒ Object
Loads children classes by keeping a cache.
-
#self_load_reset ⇒ Object
Clears track on any auto-loaded children.
-
#self_reload ⇒ Object
Clears the cache of autoloaded children classes and loads them again.
Instance Method Details
#self_load ⇒ Object
Loads children classes by keeping a cache.
26 27 28 |
# File 'lib/rake-commander/base.rb', line 26 def self_load autoload_children end |
#self_load_reset ⇒ Object
Note:
required for reload.
Clears track on any auto-loaded children
32 33 34 |
# File 'lib/rake-commander/base.rb', line 32 def self_load_reset clear_autoloaded_children end |
#self_reload ⇒ Object
Clears the cache of autoloaded children classes and loads them again.
37 38 39 40 |
# File 'lib/rake-commander/base.rb', line 37 def self_reload self_load_reset autoload_children end |