baweaver (Brandon Weaver)
- Login: baweaver
- Email: keystonelemur@gmail.com
- Registered on: 11/10/2013
- Last connection: 01/18/2021
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 7 | 5 | 12 |
Activity
02/10/2021
-
07:56 AM Ruby master Feature #17140: Merge Enumerable#grep(_v) with Enumerable#select/reject
- Would this feature still be of interest?
-
07:53 AM Ruby master Feature #7394: Enumerable#find ifnone parameter could be non-callable
- A second argument, however, could be made that `find_index` provides a different API:
```ruby
(1..100).find_index... -
07:48 AM Ruby master Feature #7394: Enumerable#find ifnone parameter could be non-callable
- I rather like @ioquatix idea here, and was considering making a similar ticket to suggest that `ifnone` does not make...
01/30/2021
-
09:03 AM Ruby master Bug #17596: Calling parameters on `new` method results in :rest and -1 arity
- Ah, this makes some sense, and I'd just seen [something similar on Twitter](https://twitter.com/pixeltrix/status/1355...
-
08:47 AM Ruby master Bug #17596: Calling parameters on `new` method results in :rest and -1 arity
- It should be noted that this happens with `new` and `initialize` both
-
08:45 AM Ruby master Bug #17596 (Rejected): Calling parameters on `new` method results in :rest and -1 arity
- Consider the following class:
```ruby
class Testing
def initialize(a, b, c)
# ...
end
end
```
...... -
06:20 AM Ruby master Bug #17595: [Pattern Matching] deconstruct_keys with zero patterns supplies nil for keys argument
- An alternative patch would to be raising an exception as an empty hash for a match feels like an invalid case, as men...
-
06:10 AM Ruby master Bug #17595 (Rejected): [Pattern Matching] deconstruct_keys with zero patterns supplies nil for keys argument
- Example:
```ruby
Test = Struct.new(:a, :b) do
def deconstruct_keys(ks)
p ks: ks
to_h.slice(*ks)
e...
01/19/2021
-
03:59 AM Ruby master Feature #17551: Pattern Matching - Default Object#deconstruct and Object#deconstruct_keys
- I believe this issue should be closed, as it has an alternative resolution available:
I will start to implement pa...
01/18/2021
-
05:14 AM Ruby master Feature #17551: Pattern Matching - Default Object#deconstruct and Object#deconstruct_keys
- That is a very fair point, and I appreciate your insight there. I would be tempted to add it to `Enumerable` except i...
Also available in: Atom