Migration from python to ruby is problematic because ruby lacks certain features. Most important python advantage is chained comparison We must wrap every comparison like described below. ```ruby puts "yes" if 1<2<3<4 class Fixn...neleai (Ondrej Bilka)
On Fri, Jan 13, 2012 at 11:11:28PM +0900, Anurag Priyam wrote: > On Fri, Jan 13, 2012 at 7:21 PM, Ondrej Bilka <neleai@seznam.cz> wrote: > > Hello. As returning from various blocks is recurring theme at list I propose following. >...neleai (Ondrej Bilka)
Hello. As returning from various blocks is recurring theme at list I propose following. You can assign label to each block. You can exit given block by referring to its label. Syntax can be ::label to avoid ambiguity(But prettier syn...neleai (Ondrej Bilka)
Do you need hash or something like multidimensional hash class that uses [], each iterates on nested... On Sun, Nov 06, 2011 at 05:48:52PM +0900, Thomas Sawyer wrote: > > Issue #5531 has been updated by Thomas Sawyer. > > ...neleai (Ondrej Bilka)
I remember that in ruby-core long ago matz explained that array don't include comparable because they could contain elements that are not comparable. I dont see this as problem as this is violated in most classes when comparing field th...neleai (Ondrej Bilka)
On Sun, Jul 10, 2011 at 10:16:25AM +0900, Eric Hodel wrote: > On Jul 9, 2011, at 4:19 PM, Rodrigo Rosenfeld Rosas wrote: > > Em 09-07-2011 20:13, Nobuyoshi Nakada escreveu: > > > Sorry, Nobu, I didn't get it. Could you explain...neleai (Ondrej Bilka)