kke (Kimmo Lehto)
- Login: kke
- Registered on: 05/12/2017
- Last sign in: 08/09/2019
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 2 | 5 | 7 |
Activity
08/22/2019
- 12:01 PM Ruby master Feature #16115 (Open): Keyword arguments from method calls or ignore extra hash keys in splat
- Just a thought, feel free to insta-close as stupid.
Currently you can do this:
```
def hello(who:)
puts "He...
08/09/2019
- 07:36 AM Ruby master Bug #16086 (Closed): OpenStruct method access with a block does not raise
- 07:36 AM Ruby master Bug #16086: OpenStruct method access with a block does not raise
- > That is OpenStruct, an undefined key does not raise an exception.
> And an unused block is silently ignored in com...
08/08/2019
- 08:56 AM Ruby master Bug #16086 (Closed): OpenStruct method access with a block does not raise
- This can cause confusion.
```ruby
> OpenStruct.new(hello: 'world').each { |k, v| puts k.upcase } # there's no "...
06/14/2019
- 07:30 AM Ruby master Feature #15899: String#before and String#after
- How about `first` and `last`?
```ruby
'hello world'.first(2)
=> 'he'
'hello world'.last(2)
=> 'ld'
'hello w...
06/06/2019
- 07:00 AM Ruby master Feature #15899: String#before and String#after
- > Using partition looks reasonable, and it can accept regexes.
It also has the problem of creating extra objects t...
06/05/2019
- 07:27 AM Ruby master Feature #15899 (Open): String#before and String#after
- There seems to be no methods for getting a substring before or after a marker.
Too often I see and have to resort...
03/06/2019
- 01:20 PM Ruby master Bug #15644 (Closed): ThreadsWait problems with Thread#report_on_exception
- Using ThreadsWait with Thread.report_on_exception is confusing.
ThreadsWait spawns a new thread for waiting on a t...
02/14/2019
- 08:34 AM Ruby master Feature #15538: Erb indenting / unindenting
- Perhaps `<%~` would be good as it resembles the squiggly heredoc `<<~EOB`
I'll try to improve on your PoC.
It s...
02/08/2019
- 01:05 PM Ruby master Bug #15596 (Rejected): Kernel.warn without arguments should do the same as Kernel.warn(nil)
- Kernel.warn without arguments does not print an empty line to $stderr.
This is inconsistent with `Kernel.puts` and...
Also available in: Atom