summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-04-07 08:05:35 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-04-07 08:05:35 +0000
commitbf776b33044a791f2b5bc65e39c6f25ad3d434ef (patch)
tree1110bf5522d986594b4115b2d8fa7e8b98d4c620 /lib
parente806f8cc4319c1a4d28f74a846374a5c19f5b034 (diff)
downloadredmine-bf776b33044a791f2b5bc65e39c6f25ad3d434ef.tar.gz
redmine-bf776b33044a791f2b5bc65e39c6f25ad3d434ef.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/hook.rb4
1 files changed, 2 insertions, 2 deletions
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