General

Profile

yeban (Anurag Priyam)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/14/2012

12:23 AM Ruby Feature #5893: named return,next...
2012/1/13 Ondřej Bílka <neleai@seznam.cz>:
> Yukihiro Matsumoto wrote:
>> throw can pass the result to catch.
>
> I did not know this one.

In my opinion, [Sinatra][1] is a very good example here. Look for
throw/catch in `lib/sin...
yeban (Anurag Priyam)

01/13/2012

11:23 PM Ruby Feature #5893: named return,next...
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.
>
> You can assign label to each block. You can exit given block by ...
yeban (Anurag Priyam)

01/10/2012

10:17 PM Ruby Feature #5474: keyword argument
Once this proposal has been implemented, would we also want to change the relevant API calls (in core, stdlib, etc.) to use keyword arguments instead of an optional Hash? yeban (Anurag Priyam)

12/21/2011

01:23 AM Ruby Feature #5781: Query attributes (attribute methods ending in `?` mark)
On Tue, Dec 20, 2011 at 8:17 PM, Jeremy Bopp <jeremy@bopp.net> wrote:
> How about adding an attr_query method that otherwise works identically
> to attr_reader but creates a method with a '?' on the end of the given
> name instead?
...
yeban (Anurag Priyam)

10/13/2011

04:23 AM Ruby Feature #5427: Not complex patch to improve `require` time (load.c)
On Mon, Oct 10, 2011 at 1:53 AM, Yui NARUSE <naruse@airemix.jp> wrote:
[...]
> It's too late for 1.9.3.
> Its feature is frozen on July 10.

It is not a feature, just an optimization. So if it works well, it can
be included,...
yeban (Anurag Priyam)

09/26/2011

07:23 AM Ruby Feature #5364: How about new syntax: "object.\method" returns a Method instance?
On Sun, Sep 25, 2011 at 8:34 PM, Juan Wajnerman <jwajnerman@manas.com.ar> wrote:
>
> Issue #5364 has been updated by Juan Wajnerman.
>
> How about "object.:method" ? Looks more Ruby style for me.

Haskell uses '\' to create ...
yeban (Anurag Priyam)
06:59 AM Ruby Feature #3131: add Kernel#Hash() method like Kernel#Array()
On Mon, Sep 26, 2011 at 1:52 AM, Suraj Kurapati <sunaku@gmail.com> wrote:
>
> Issue #3131 has been updated by Suraj Kurapati.
>
> Any chance of this getting into Ruby 1.9.3?  Thanks.

Doesn't look like it. See ruby-core 39693.

...
yeban (Anurag Priyam)

09/23/2011

10:53 AM Ruby Feature #5352: How about using <> to represent Here Document?
On Fri, Sep 23, 2011 at 7:08 AM, Martin Dürst <duerst@it.aoyama.ac.jp> wrote:
[...]
> If anything is done in this direction, I'd prefer
>   str
yeban (Anurag Priyam)

08/03/2011

04:23 PM Ruby Feature #5123: Alias Hash 1.9 as OrderedHash
> It would be nice if the ordered Hash in Ruby 1.9 was aliased as OrderedHash.
> That way people who rely on preserving the insertion order in some application (me, for example) could explicitly use OrderedHash, and developers of Ruby ...
yeban (Anurag Priyam)

06/05/2011

06:29 PM Ruby Feature #4822: String#capitalize improvements
> Hmm, how about this?
> str.gsub(/\w.*?[.!?](?:\s+|\z)/){|c|c.capitalize}

This solves my problem better than what I was doing. Thanks. Do you
think that other's could also benefit from such an extension to
`capitalize`, or i...
yeban (Anurag Priyam)

Also available in: Atom