General

Profile

prijutme4ty (Ilya Vorontsov)

Issues

Activity

07/11/2018

02:35 AM Ruby trunk Feature #14904: Make it possible to run instance_eval with zero-arguments lambda
My use case is just a simple example showing why current behavior isn't as good as it can be.
That's not about lam...

07/09/2018

11:42 AM Ruby trunk Feature #14904: Make it possible to run instance_eval with zero-arguments lambda
Sorry, define_method in example should be that:
```
define_method(param_name){ instance_eval(&kwargs[:default]) }
```
11:32 AM Ruby trunk Feature #14904 (Open): Make it possible to run instance_eval with zero-arguments lambda
At a moment #instance_eval always yields an object to a given block. Though if we passed lambda as a block for instan...

12/26/2016

10:33 PM Ruby trunk Feature #10641: Introduce Fixnum#finite? and Bignum#finite?
It looks, feature request can be closed (implemented in #12039)

06/01/2016

12:05 PM Ruby trunk Bug #12437: Is it "legal" to call collect! in class initializer?
Second call to `categories.collect!` works over Categories object. `Set#collect!` tries to create a new set. `Categor...

05/12/2016

04:07 PM Ruby trunk Feature #11090: Enumerable#each_uniq and #each_uniq_by
Why introduce one more method if we can just implement `#uniq` (with or without block, sticking to `Array#uniq` seman...

12/29/2015

12:57 PM Ruby trunk Feature #11925 (Closed): Struct construction with kwargs
Propose to make Struct subclass constructors which accept keyword arguments. Not sure, if it's reasonable to allow `....
12:54 PM Ruby trunk Feature #11923: Put Struct accessors into separate module to allow redefining them in Struct.new's block
Sorry. Don't how to choose appropriate assignee.
11:57 AM Ruby trunk Feature #11923 (Open): Put Struct accessors into separate module to allow redefining them in Struct.new's block
`Struct.new(*args, &block)` creates a subclass of `Struct`. Some methods like accessors are defined right in newly cr...

12/28/2015

12:07 PM Ruby trunk Feature #11708: Specify a way to override Struct-subclass constructor
Marc-Andre Lafortune wrote:
> It's true that there is no test (and more surprisingly no Rubyspec) on this.
>
> I'...

Also available in: Atom