1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Fix YARD warnings about see directive

This commit is contained in:
Olle Jonsson 2018-01-07 22:44:42 +01:00
parent 111b1c8e43
commit 23be0d9da4
2 changed files with 3 additions and 3 deletions

View file

@ -169,8 +169,8 @@ class Pry
# @deprecated Replaced with {Pry::Hooks#add_hook}. Left for compatibility.
# Store hooks to be run before or after the command body.
# @see {Pry::CommandSet#before_command}
# @see {Pry::CommandSet#after_command}
# @see Pry::CommandSet#before_command
# @see Pry::CommandSet#after_command
def hooks
Pry.hooks
end

View file

@ -32,7 +32,7 @@ class Pry
#
# @param [Pry::Hooks] other The `Pry::Hooks` instance to merge
# @return [Pry:Hooks] The receiver.
# @see {#merge}
# @see #merge
def merge!(other)
@hooks.merge!(other.dup.hooks) do |key, array, other_array|
temp_hash, output = {}, []