From b8ace53104cd41273ebcd24895b82bb852dd5715 Mon Sep 17 00:00:00 2001 From: Robert Gleeson Date: Mon, 20 Jan 2014 08:40:05 +0100 Subject: [PATCH] Pry::Config#merge! turns Symbol keys to String's. --- lib/pry/config.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pry/config.rb b/lib/pry/config.rb index 4e2a2f7e..54600a6f 100644 --- a/lib/pry/config.rb +++ b/lib/pry/config.rb @@ -38,7 +38,9 @@ class Pry::Config end def merge!(other) - @lookup.merge!(other.to_hash) + other = other.to_hash + keys, values = other.keys.map(&:to_s), other.values + @lookup.merge! Hash[keys.zip(values)] end def respond_to?(name, boolean=false)