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:
parent
111b1c8e43
commit
23be0d9da4
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 = {}, []
|
||||
|
|
Loading…
Reference in a new issue