General

Profile

foonlyboy (Eike Dierks)

  • Login: foonlyboy
  • Registered on: 09/22/2018
  • Last sign in: 12/20/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 5 8

Activity

02/17/2021

06:07 PM Ruby master Feature #17640 (Rejected): allow // for comments
- ruby uses '#' for comments (from the sh heritage)
- js and css use '//' for comments (from the C++ heritage)
I'...
foonlyboy (Eike Dierks)

09/15/2020

07:07 PM Ruby master Feature #17170 (Feedback): Numeric.zero, Numeric.one
Hi at the ruby team,
I'd like to suggest to enhance `Numeric` to provide two new class methods, which shall be: `z...
foonlyboy (Eike Dierks)

05/05/2019

08:30 PM Ruby master Feature #15829: Object#then_if(condition){}
A more complex example:
``` ruby
scope :blacklisted_at, -> (seller=nil, flag=true) {
then_if(! flag.nil?) {
...
foonlyboy (Eike Dierks)
06:48 PM Ruby master Feature #15829: Object#then_if(condition){}
A (somehow contrived) example:
``` ruby
[1,2,3,4,5].map{|n| n.then_if(n.even?){'even'}}
=> [1, "even", 3, "even"...
foonlyboy (Eike Dierks)
06:35 PM Ruby master Feature #15829: Object#then_if(condition){}
``` ruby
class Object
def then_if(condition, &block)
if condition
self.then(&block)
else
...
foonlyboy (Eike Dierks)
06:26 PM Ruby master Feature #15829 (Rejected): Object#then_if(condition){}
I'd like to propose some sugar to Object#then
There should be `Object#then_if(condition, &block)`

The block sh...
foonlyboy (Eike Dierks)

03/15/2019

01:41 AM Ruby master Feature #15668 (Open): stdlib: Date - Time should return the difference in days
Hi at the ruby/stdlib,
Computing with times and dates is very complicated.
There are so many pitfalls lurking the...
foonlyboy (Eike Dierks)

12/27/2018

09:58 PM Ruby master Misc #15474 (Rejected): Running Rails with jit
I have installed ruby-2.6.0
I want to try to run my rails app with the jit.
How can this be done?
I should try e...
foonlyboy (Eike Dierks)

12/15/2018

06:43 PM Ruby master Misc #15418 (Open): Date.parse('2018')
Date.parse('2018')
ArgumentError: invalid date
I did expect that to return the same as:
Date.parse('2018-1-1')
...
foonlyboy (Eike Dierks)

11/29/2018

01:08 AM Ruby master Feature #14244: Better error messages for scripts with non-matching end statements
I fully agree with Martin that this is one of the most annoying problems.
I used ruby -w on my failing file and it...
foonlyboy (Eike Dierks)

Also available in: Atom