Created
January 4, 2019 12:31
-
-
Save RafaelChefe/9dac5d7358d03181982a050907f8a07d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[114, 150, 156].map.with_index { |elem, ind| a.slice(0..ind) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment