General

Profile

jeremyevans0 (Jeremy Evans)

Issues

Projects

Activity

11/15/2017

03:54 PM Ruby trunk Bug #14097: Add union and difference to Array
ana06 (Ana Maria Martinez Gomez) wrote:
> > You could build union without a nested application of |. No doubt you co...

11/14/2017

04:08 PM Ruby trunk Feature #14105: Introduce xor as alias for Set#^
`^` is used as the exclusive-or operator in many other programming languages including C, C++, C#, D, Java, Perl, PHP...

11/13/2017

04:04 PM Ruby trunk Bug #14097: Add union and difference to Array
ana06 (Ana Maria Martinez Gomez) wrote:
> @jeremyevans0
>
> > The array class already has a union operator (|) wh...
02:53 PM Ruby trunk Bug #14097: Add union and difference to Array
ana06 (Ana Maria Martinez Gomez) wrote:
> @jeremyevans0 do you find it coherent having you union method and only one...
01:42 AM Ruby trunk Bug #14102: Date.strptime ignores constraints provided by day name
cyclotron3k (A Samuel) wrote:
> Date.strptime('Potato, November 13, 2017', '%A, %B %d, %Y').strftime('%A, %B %d, %Y'...

11/11/2017

10:57 PM Ruby trunk Bug #14097: Add union and difference to Array
ana06 (Ana Maria Martinez Gomez) wrote:
> What about introducing `concat!` with the same behaviour as `concat` and d...

10/27/2017

01:26 AM Ruby trunk Feature #14059: Refine multiple classes in one call
I think the natural way to handle this is a loop:
~~~ruby
[NilClass, Array, Hash].each do |c|
refine c do
...

10/26/2017

02:30 PM Ruby trunk Feature #14056 (Rejected): Add Module#deprecate_public for deprecation of public methods
marcandre (Marc-Andre Lafortune) wrote:
> You're completely right for the rest, I got confused as to how private Rub...
07:05 AM Ruby trunk Feature #14056: Add Module#deprecate_public for deprecation of public methods
marcandre (Marc-Andre Lafortune) wrote:
> Just curious about the use case: since you have the control over private m...
12:05 AM Ruby trunk Feature #14056 (Rejected): Add Module#deprecate_public for deprecation of public methods
The attached patch allows you to make a method private, but have
calling it publicly (either directly or via public_...

Also available in: Atom