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

add Pry::Config#to_hash for 1.9 compatibility.

This commit is contained in:
Robert Gleeson 2014-01-19 04:21:22 +01:00
parent f4462a48cc
commit c1af234bbd

View file

@ -38,7 +38,7 @@ class Pry::Config
end
def merge!(other)
@lookup.merge!(other.to_h)
@lookup.merge!(other.to_hash)
end
def respond_to?(name, boolean=false)
@ -49,10 +49,14 @@ class Pry::Config
@lookup = {}
end
def to_h
def to_hash
@lookup
end
def to_h
to_hash
end
def quiet?
quiet
end