General

Profile

zeus (Zeus 81)

  • Login: zeus
  • Registered on: 06/03/2019
  • Last sign in: 07/04/2019

Issues

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

Activity

06/03/2019

04:47 PM Ruby Feature #15896 (Rejected): Symbol#+
I've made this today
``` ruby
class Symbol
@@cache_add = Hash.new {|h1,k1| h1[k1] = Hash.new {|h2,k2| h2[k2] = :"#{k1}#{k2}"}}
def +(s) @@cache_add[self][s] end
end
:abc + :def
# => :abcdef
```
I thought it was so awesome ...
zeus (Zeus 81)

Also available in: Atom