Holds hooks that are called before and after # and #
Overwrite to add actions after the reload rotation has ended.
# File lib/ramaze/reloader.rb, line 184 184: def after_cycle; end
Overwrite to add custom hook in addition to default Cache cleaning
# File lib/ramaze/reloader.rb, line 200 200: def after_safe_load(file) 201: end
Overwrite to add actions after a file is Kernel::load-ed unsuccessfully, by default we output an error-message with the exception.
# File lib/ramaze/reloader.rb, line 205 205: def after_safe_load_failed(file, error) 206: Log.error(error) 207: end
Overwrite to add actions after a file is Kernel::load-ed successfully, by default we clean the Cache for compiled templates and resolved actions.
# File lib/ramaze/reloader.rb, line 194 194: def after_safe_load_succeed(file) 195: Cache.clear_after_reload 196: after_safe_load(file) 197: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.