diff options
author | Olle Jonsson <olle.jonsson@gmail.com> | 2018-01-07 22:44:42 +0100 |
---|---|---|
committer | Olle Jonsson <olle.jonsson@gmail.com> | 2018-01-07 22:44:42 +0100 |
commit | 23be0d9da45b91ed11be92cd77b839de529d340c (patch) | |
tree | 2b77aeca8938c46333e0ede1d1affa997096c234 | |
parent | 111b1c8e4338dec51d446b4f0c38836df92d0ac8 (diff) | |
download | pry-23be0d9da45b91ed11be92cd77b839de529d340c.tar.gz |
Fix YARD warnings about see directive
-rw-r--r-- | lib/pry/command.rb | 4 | ||||
-rw-r--r-- | lib/pry/hooks.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/pry/command.rb b/lib/pry/command.rb index 733044aa..94a47c8a 100644 --- a/lib/pry/command.rb +++ b/lib/pry/command.rb @@ -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 diff --git a/lib/pry/hooks.rb b/lib/pry/hooks.rb index b5e2e85c..64e0d5d3 100644 --- a/lib/pry/hooks.rb +++ b/lib/pry/hooks.rb @@ -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 = {}, [] |