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:
parent
19c301696b
commit
3b3a97d682
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue