Skip to content

Commit bf776b3

Browse files
committed
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
1 parent e806f8c commit bf776b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/redmine/hook.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def add_listener(klass)
3030
clear_listeners_instances
3131
end
3232

33-
# Returns all the listerners instances.
33+
# Returns all the listener instances.
3434
def listeners
3535
@@listeners ||= @@listener_classes.collect {|listener| listener.instance}
3636
end
3737

38-
# Returns the listeners instances for the given hook.
38+
# Returns the listener instances for the given hook.
3939
def hook_listeners(hook)
4040
@@hook_listeners[hook] ||= listeners.select {|listener| listener.respond_to?(hook)}
4141
end

0 commit comments

Comments
 (0)