Skip to content

Instantly share code, notes, and snippets.

@MatheusMuriel
Last active April 22, 2021 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatheusMuriel/1ab90cbf975a690a354a78e0457a926b to your computer and use it in GitHub Desktop.
Save MatheusMuriel/1ab90cbf975a690a354a78e0457a926b to your computer and use it in GitHub Desktop.
def metodo
variavel = 50
hash = {a: 1, b: 2, c: 3}
lista = [1, 2, 3, 4, 5]
interpolacao = "String #{variavel}"
interpolacao.reverse
lista.each{|n| puts n}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment