From: Daniel Berger Date: 2006-12-20T15:03:39+09:00 Subject: Re: String#slice! doc bug? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gavin Kistner wrote: > From: Daniel Berger [mailto:djberg96@gmail.com] >> The docs for String#slice! say, "The forms that take a Fixnum will raise >> an IndexError if the value is out of range." > > Perhaps the docs are describing what the documenter hoped would be implemented. My C is very rusty, but I don't see anything in string.c related to slice! that would raise errors for that. Neither do I. > I'd mention the bug on the ruby-core or ruby-doc lists (depending on whether the code or documentation is perceived to be at fault). Roger that. I'll file a bug report. Regards, Dan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFiNI33p/dorzCFX0RAvqcAJ9+7VWic7oLRF86r6Wdav/4co0tDACfaTMy OqxmHxBchdwzu+6pc2axH10= =a0f3 -----END PGP SIGNATURE-----