Skip to content

Instantly share code, notes, and snippets.

@wicky-andrian
Created July 5, 2022 10:47
Show Gist options
  • Save wicky-andrian/1ea6ef5496a58c503ea316c1a5656a94 to your computer and use it in GitHub Desktop.
Save wicky-andrian/1ea6ef5496a58c503ea316c1a5656a94 to your computer and use it in GitHub Desktop.
Array
a = ["B$u$i$ld", "$t$$h$e", "N$e$x$t", "E$$ra", "$$o$f$", "S$$of$t$wa$r$e", "De$$ve$l$op$me$n$t"]
for i in a
i.to_s
i.gsub!('$', '')
puts "#{i.upcase}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment