diff options
author | Jordon Bedwell <jordon@envygeeks.com> | 2012-03-12 08:27:13 -0500 |
---|---|---|
committer | Jordon Bedwell <jordon@envygeeks.com> | 2012-03-12 08:27:13 -0500 |
commit | 0d738db57993e35f269379d36b6d92c527b89b60 (patch) | |
tree | bde772ad3c0878d9c215b9c9a84443c539483889 | |
parent | 68e95b325c4e227289c8f829af9d9d1a9896ee3d (diff) | |
download | pry-0d738db57993e35f269379d36b6d92c527b89b60.tar.gz |
Have the warning output the class rather then a generic Hash error.
-rw-r--r-- | lib/pry/plugins.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/plugins.rb b/lib/pry/plugins.rb index 966b59a4..9803ee4e 100644 --- a/lib/pry/plugins.rb +++ b/lib/pry/plugins.rb @@ -63,7 +63,7 @@ class Pry else if !@config_disabled.is_a? Array @config_disabled = [] - warn 'A hash is not accept for disabled plugins' + warn "A #{@config_disabled.class} is not accept for disabled plugins" end end |