Class: Redmine::Hook::Listener
- Inherits:
-
Object
- Object
- Redmine::Hook::Listener
- Includes:
- I18n, Singleton
- Defined in:
- lib/redmine/hook/listener.rb
Overview
Base class for hook listeners.
Direct Known Subclasses
Class Method Summary collapse
-
.inherited(child) ⇒ Object
Registers the listener.
Methods included from I18n
#current_language, #day_letter, #day_name, #find_language, #format_date, #format_hours, #format_time, included, #l, #l_hours, #l_hours_short, #l_or_humanize, #languages_options, #ll, #lu, #month_name, #set_language_if_valid, #valid_languages
Class Method Details
.inherited(child) ⇒ Object
Registers the listener
28 29 30 31 |
# File 'lib/redmine/hook/listener.rb', line 28 def self.inherited(child) Redmine::Hook.add_listener(child) super end |