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

fix respond_to_missing? that makes no sense.

Pry::Output wraps `$stdout` or some IO, not `Pry::Config`, it makes
no sense to say Pry::Output responds to all config methods.
This commit is contained in:
strcmp 2015-08-22 15:17:18 +01:00
parent 10c8d19d1f
commit 9a350dbf6c

View file

@ -36,7 +36,7 @@ class Pry::Output
end
def respond_to_missing?(*a)
_pry_.config.respond_to?(*a)
@boxed_io.respond_to?(*a)
end
private