Issue #2829 has been updated by Marc-Andre Lafortune.
Hi Yusuke.
Thanks for these comments. I've updated the wiki accordingly. I've also added examples to most exception classes.
Unless there is objection, I plan on changing the following error messages:
[1, 2].fetch(-3)
From: index -1 out of array
To: index -3 outside of array bounds: -2...2
{}.fetch("foo")
From: key not found
To: key not found: "foo"
I will also commit the changes documentation unless there are further comments.
--
Marc-André
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2829
----------------------------------------
http://redmine.ruby-lang.org