diff options
author | Douglas Eichelberger <dduugg@gmail.com> | 2022-09-11 15:15:36 -0700 |
---|---|---|
committer | Douglas Eichelberger <dduugg@gmail.com> | 2022-09-11 15:15:36 -0700 |
commit | 0e06fc6ab27a88f7c451fc7de9645f7cab050ad9 (patch) | |
tree | 4e59e32730d576be28aecbc7e6c5be0803e40476 /lib/pry/commands/watch_expression.rb | |
parent | 43c2d3c79419dd79babb0f9c5f3920eb9cd4677f (diff) | |
download | pry-0e06fc6ab27a88f7c451fc7de9645f7cab050ad9.tar.gz |
Complete Style/SymbolArray todo
Diffstat (limited to 'lib/pry/commands/watch_expression.rb')
-rw-r--r-- | lib/pry/commands/watch_expression.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/commands/watch_expression.rb b/lib/pry/commands/watch_expression.rb index f732a53f..3bdb3998 100644 --- a/lib/pry/commands/watch_expression.rb +++ b/lib/pry/commands/watch_expression.rb @@ -96,7 +96,7 @@ class Pry end def add_hook - hook = [:after_eval, :watch_expression] + hook = %i[after_eval watch_expression] return if pry_instance.hooks.hook_exists?(*hook) pry_instance.hooks.add_hook(*hook) do |_, pry_instance| |