Martin Dürst wrote: > While we are at it, can we also change the extremely cryptic "for". > ... I second this. When I was new to Ruby years ago, I struggled with this "for". I'm not a native English speaker and it always kept me wonder...mfn (Markus Fischer)
Impressive, thanks! I think you have a typo on line 1698 ; if it's supposed to be a ruby code example, the Encoding:ISO-8859-1 needs two double colons "::". I was reading a few times through the external/internal encoding chapters,...mfn (Markus Fischer)
I've been given permission from Joseph Pecoraro to use all or parts of this readline tutorial ( http://bogojoker.com/readline/ ) as part of ruby docs. This patch adds tab completion examples.mfn (Markus Fischer)
It "works" for me if you change the `&&` to `and`; so I think it's a precedence issue you're facing here. I think this blog post here has some good examples which I think directly apply to your case: http://blog.jayfields.com/2007/08/...mfn (Markus Fischer)
On 09.06.2011 20:26, Marc-Andre Lafortune wrote: > You might want to read the thread [ruby-core:33683] on Akira's > proposal for Enumerable#categorize and my alternative proposal > Enumerable#associate which would act as ...mfn (Markus Fischer)
Arnau Sanchez wrote: > I don't know if it's polite to comment in old closed issues, excuse me if it's not. > ... [...] > Hash[(1..3).map { |n| [n, n**2] }] > ... I was about to open a new feature request when I found this, unfortuna...mfn (Markus Fischer)
On 08.06.2011 13:31, Rodrigo Rosenfeld Rosas wrote: > Issue #4824 has been updated by Rodrigo Rosenfeld Rosas. > > > Actually, maybe something like the snippet below...mfn (Markus Fischer)
When passing a weird-formed uri to URI.parse which gets successfully parsed, calling request_uri bombs out with undefined method. The malformed uri: http:foo Example code: $ ruby -ruri -e 'URI.parse("http:foo").request_uri' /ru...mfn (Markus Fischer)