General

Profile

dkniffin (Derek Kniffin)

  • Login: dkniffin
  • Registered on: 04/26/2016
  • Last sign in: 09/16/2016

Issues

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

Activity

09/17/2016

07:58 PM Ruby Feature #12770: Hash#left_merge
Ah, hmm. I think new example was a bit off as well. The return value should be:
`{ a: 1, b: 2, c: 3, d: nil, e: nil }`
dkniffin (Derek Kniffin)
02:21 AM Ruby Feature #12770: Hash#left_merge
Ah, yep, here's a better example:
````ruby
a = {a: 1, b: nil, c: 3, d: nil}
b = {a: 1, b: 2, c: 4, e:nil}
a.left_merge(b) # => {a: 1, b: 2, c: 3, d: nil}
````
And yea, I admit it's not a great name. The reason I chose left_merg...
dkniffin (Derek Kniffin)

09/16/2016

07:13 PM Ruby Feature #12770 (Rejected): Hash#left_merge
I would like a Hash method that does the following:
````ruby
a = {a: 1, b: nil, c: nil, d: nil}
b = {a: 1, b: 2, c: nil}
a.left_merge(b) # => {a: 1, b: 2, c: nil, d: nil}
````
So, it takes the first hash, and for any values th...
dkniffin (Derek Kniffin)

04/26/2016

09:38 PM Ruby Bug #12321: Backticks in log output cause issues
Well, it's not just slack. It's anything that uses markdown. That includes Github, Stack overflow, Jekyll, PivitolTracker, Jira, and probably many other technical tools. Markdown has become a pseudo-standard, and it's used in tons of pla... dkniffin (Derek Kniffin)
07:59 PM Ruby Bug #12321 (Rejected): Backticks in log output cause issues
I would like to propose changing ruby's log output slightly. The issue I have is with output like this:
~~~
NoMethodError: undefined method `some_method' for nil:NilClass
~~~
In particular, I don't like how some_method has a back...
dkniffin (Derek Kniffin)

Also available in: Atom