General

Profile

nerdinand (Ferdinand Niedermann)

Issues

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

Activity

07/22/2016

09:52 AM Ruby master Feature #10594: Comparable#clamp
Shyouhei Urabe wrote:
> Martin Dürst wrote:
> > The next meeting is scheduled for August 9th, but the wiki page fo...
nerdinand (Ferdinand Niedermann)

07/21/2016

01:10 PM Ruby master Feature #10594: Comparable#clamp
Anyone there? I'd love to see this in Ruby finally and I'm not the only one... nerdinand (Ferdinand Niedermann)

09/26/2015

11:45 AM Ruby master Feature #10594: Comparable#clamp
Where do we go from here? Is my patch acceptable? If no, what should I change? If yes, what's the process for getting... nerdinand (Ferdinand Niedermann)

09/15/2015

09:48 AM Ruby master Feature #10594: Comparable#clamp
Benoit Daloze wrote:
> Good luck explaining the precise semantics of clamp on String though.
IMO it's not that ha...
nerdinand (Ferdinand Niedermann)

07/10/2015

05:32 AM Ruby master Feature #10594: Comparable#clamp
D.E. Akers wrote:
> Ferdinand Niedermann wrote:
> > Here you go: https://github.com/ruby/ruby/pull/962
>
> The f...
nerdinand (Ferdinand Niedermann)

07/09/2015

08:28 PM Ruby master Feature #10594: Comparable#clamp
Here you go: https://github.com/ruby/ruby/pull/962 nerdinand (Ferdinand Niedermann)
07:33 AM Ruby master Feature #10594: Comparable#clamp
> That `min > max` should raise an `ArgumentError` seems the only logical conclusion.
I agree. I'll send another p...
nerdinand (Ferdinand Niedermann)

07/08/2015

01:00 PM Ruby master Feature #10594: Comparable#clamp
I think there is even another option: Swapping the min and max values if they are passed in the wrong order.
This ...
nerdinand (Ferdinand Niedermann)

07/06/2015

03:26 PM Ruby master Feature #10594: Comparable#clamp
I tried the basic implementation (adaption of `#between?`). What should we do about cases like these?
```
irb(main)...
nerdinand (Ferdinand Niedermann)

07/03/2015

07:15 AM Ruby master Feature #10594: Comparable#clamp
That does make a lot of sense. I'll send another pull request. nerdinand (Ferdinand Niedermann)

Also available in: Atom