From bf776b33044a791f2b5bc65e39c6f25ad3d434ef Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 7 Apr 2014 08:05:35 +0000 Subject: fix typos of source comments at lib/redmine/hook.rb git-svn-id: http://svn.redmine.org/redmine/trunk@13068 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/hook.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/redmine/hook.rb b/lib/redmine/hook.rb index 695baf5ec..715cbaf80 100644 --- a/lib/redmine/hook.rb +++ b/lib/redmine/hook.rb @@ -30,12 +30,12 @@ module Redmine clear_listeners_instances end - # Returns all the listerners instances. + # Returns all the listener instances. def listeners @@listeners ||= @@listener_classes.collect {|listener| listener.instance} end - # Returns the listeners instances for the given hook. + # Returns the listener instances for the given hook. def hook_listeners(hook) @@hook_listeners[hook] ||= listeners.select {|listener| listener.respond_to?(hook)} end -- cgit v1.2.3