Class: Redmine::Hook::Listener

Inherits:
Object
  • Object
show all
Includes:
I18n, Singleton
Defined in:
lib/redmine/hook.rb

Overview

Base class for hook listeners.

Direct Known Subclasses

ViewListener

Class Method Summary (collapse)

Methods included from I18n

#current_language, #day_name, #find_language, #format_date, #format_time, included, #l, #l_hours, #l_or_humanize, #ll, #month_name, #set_language_if_valid, #valid_languages

Class Method Details

+ (Object) inherited(child)

Registers the listener



75
76
77
78
# File 'lib/redmine/hook.rb', line 75

def self.inherited(child)
  Redmine::Hook.add_listener(child)
  super
end