prijutme4ty (Ilya Vorontsov)
- Email: firstname.lastname@example.org
- Registered on: 03/14/2012
- Last connection: 10/20/2017
- 10:33 PM Ruby trunk Feature #10641: Introduce Fixnum#finite? and Bignum#finite?
- It looks, feature request can be closed (implemented in #12039)
- 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...
- 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: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: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.
- 01:38 AM Ruby trunk Bug #10984: Hash#contain? to check whether hash contains other hash
- > Akira Tanaka wrote:
> % ruby -e '
> class Hash
> def <=(other)
> self.merge(other) == other
- 02:02 PM Ruby trunk Feature #11708 (Closed): Specify a way to override Struct-subclass constructor
- It's common to create simple data-object with some constraints. One can either implement custom class or use `Struct`...
- 12:59 AM Ruby trunk Bug #10984: Hash#contain? to check whether hash contains other hash
- I've missed absence of `<=>` first. Yes, you are right. And it can slightly reduce damage.
But anyway it doesn't r...
Also available in: Atom