General

Profile

kaspth (Kasper Timm Hansen)

  • Login: kaspth
  • Registered on: 12/22/2016
  • Last sign in: 12/18/2018

Issues

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

Activity

02/11/2017

03:47 PM Ruby Feature #13207 (Feedback): Allow keyword local variable names like `class` or `for`
Sometimes when trying to write expressive Ruby you enevitably hit a case
that would sound just right if the variable name matches a Ruby keyword.
E.g. writing a method to output HTML tags:
```ruby
def label_tag(text, class:)
%...
kaspth (Kasper Timm Hansen)

12/22/2016

07:36 PM Ruby Feature #12979: Avoid exception for #dup on Integer (and similar cases)
In Rails we've circumvented this with a `duplicable?` core extension.
We'd need `dup` support on Method, Complex and Rational too remove it entirely:
https://github.com/rails/rails/blob/fd63aa02289d64e9d14fe56723f1de64bca3bb1f/active...
kaspth (Kasper Timm Hansen)

Also available in: Atom