General

Profile

trevorlynnsmith (Trevor Smith)

  • Login: trevorlynnsmith
  • Registered on: 01/18/2017
  • Last sign in: 03/09/2017

Issues

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

Activity

01/21/2017

06:36 PM Ruby Feature #13137: Hash Shorthand
My apologies – I searched extensively and did not find the previous feature request. Thank you for the consideration. trevorlynnsmith (Trevor Smith)

01/18/2017

09:11 PM Ruby Feature #13137 (Rejected): Hash Shorthand
The ES6 update to Javascript added object shorthand. I propose that a similar hash shorthand be added to Ruby.
### Before
~~~ ruby
name = 'Matz'
country = 'Japan'
attributes = {
name: name,
country: country
}
~~~
##...
trevorlynnsmith (Trevor Smith)

Also available in: Atom