Skip to content

Instantly share code, notes, and snippets.

@blarosen95
Created May 31, 2018 16:47
Show Gist options
  • Save blarosen95/8d0fae2066524458e21056d5b11a31a9 to your computer and use it in GitHub Desktop.
Save blarosen95/8d0fae2066524458e21056d5b11a31a9 to your computer and use it in GitHub Desktop.
Concept
seconds = 2
minutes = 2
units = ["seconds", "minutes"]
str_out = "#{#{units[0]}}" # Returns "2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment