Skip to content

Instantly share code, notes, and snippets.

@ckozus
Created August 13, 2013 15:20
Show Gist options
  • Save ckozus/6222258 to your computer and use it in GitHub Desktop.
Save ckozus/6222258 to your computer and use it in GitHub Desktop.
x = objeto
metodo_raro(x)
print x.nombre #muestra el nombre del objeto original y no el del nuevo
def metodo_raro(x)
x = nuevo_objeto()
return
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment