diff options
author | dmitry kim <jason@nichego.net> | 2008-11-21 01:27:38 +0300 |
---|---|---|
committer | dmitry kim <jason@nichego.net> | 2008-11-21 01:35:31 +0300 |
commit | 11092542ded9d33f2f5abd3f5c8789ff73bb37b4 (patch) | |
tree | 50e7fc6a1aedc03b9eefd82fdfc25f6e2e742d63 | |
parent | ac9eb1b02d4200006566ccd630dd678345008963 (diff) |
* fix config validation diagnostics for ArrayValue
-rw-r--r-- | lib/rbot/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb index 207264bf..4f81c695 100644 --- a/lib/rbot/config.rb +++ b/lib/rbot/config.rb @@ -186,7 +186,7 @@ module Config unless newval.include? val newval << val validate_item(val) or raise ArgumentError, "invalid item: #{val}" - validate(newval) or raise ArgumentError, "invalid value: #{newval.to_s}" + validate(newval) or raise ArgumentError, "invalid value: #{newval.inspect}" set(newval) end end |