Module: FunWith::Patterns::Reloadable
- Extended by:
- ClassReloaderMethod
- Defined in:
- lib/fun_with/patterns/reloadable.rb
Overview
A bare-bones reloading system. Useful when the entire file defines exactly one class or module, with no dependencies or side-effects.
Instance Method Summary collapse
Methods included from ClassReloaderMethod
Instance Method Details
#reload! ⇒ Object
7 8 9 |
# File 'lib/fun_with/patterns/reloadable.rb', line 7 def reload! FunWith::Patterns::Reloadable.reload_class( self ) end |
#reloader_filepath ⇒ Object
11 12 13 |
# File 'lib/fun_with/patterns/reloadable.rb', line 11 def reloader_filepath @reloader_filepath end |