diff options
-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 = {}, [] |