Issue #5987 has been reported by Hal Brodigan.

----------------------------------------
Bug #5987: IPAddr#initialize should display the invalid address when raising ArgumentError
https://bugs.ruby-lang.org/issues/5987

Author: Hal Brodigan
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]


I noticed that when IPAddr#initialize raises an ArgumentError on invalid addresses, it does not include the offending address in the exception message. This makes debugging difficult.


-- 
http://bugs.ruby-lang.org/