Commit f9df489d authored by Kyle Fuller's avatar Kyle Fuller

[Hooks Manager] Clarify and correct documentation

parent a79304cc
...@@ -20,12 +20,12 @@ module Pod ...@@ -20,12 +20,12 @@ module Pod
# #
class Hook class Hook
# @return [String] # @return [String]
# The name of the hook's notification. # The name of the plugin that registered the hook.
# #
attr_reader :plugin_name attr_reader :plugin_name
# @return [String] # @return [String]
# The name of the plugin the hook came from. # The name of the hook.
# #
attr_reader :name attr_reader :name
...@@ -54,8 +54,8 @@ module Pod ...@@ -54,8 +54,8 @@ module Pod
end end
class << self class << self
# @return [Hash{Symbol => Array<Proc>}] The list of the blocks that are # @return [Hash{Symbol => Array<Hook>}] The list of the hooks that are
# registered for each notification name. # registered for each hook name.
# #
attr_reader :registrations attr_reader :registrations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment