diff --git a/lib/pry/config/default.rb b/lib/pry/config/default.rb index 80691093..3faf0d0e 100644 --- a/lib/pry/config/default.rb +++ b/lib/pry/config/default.rb @@ -55,7 +55,7 @@ class Pry::Config::Default default.each do |key, value| define_method(key) do - if default[key] == value + if default[key].equal?(value) default[key] = value.call end default[key]