Module: RedmineExtensions::Reloader
- Defined in:
- lib/redmine_extensions/patch_manager.rb
Class Method Summary collapse
Class Method Details
.to_cleanup(*args, &block) ⇒ Object
424 425 426 427 428 429 430 |
# File 'lib/redmine_extensions/patch_manager.rb', line 424 def self.to_cleanup(*args, &block) if defined? ActiveSupport::Reloader ActiveSupport::Reloader.to_complete(*args, &block) else ActionDispatch::Reloader.to_cleanup(*args, &block) end end |
.to_prepare(*args, &block) ⇒ Object
416 417 418 419 420 421 422 |
# File 'lib/redmine_extensions/patch_manager.rb', line 416 def self.to_prepare(*args, &block) if defined? ActiveSupport::Reloader ActiveSupport::Reloader.to_prepare(*args, &block) else ActionDispatch::Reloader.to_prepare(*args, &block) end end |