1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

compare with #equal? (object identity) in Pry::Config::Default.

This commit is contained in:
Robert Gleeson 2014-01-21 08:48:24 +01:00
parent 19c301696b
commit 3b3a97d682

View file

@ -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]