Join Slack
Powered by
For example: `(1 .. 80).associate{ it to (it*4) }`...
# getting-started
j
josephivie
10/18/2016, 6:52 PM
For example:
(1 .. 80).associate{ it to (it*4) }
would create a map with the numbers 1 through 80 as keys and the values as the key multiplied by 4
Open in Slack
Previous
Next