Skip to content

Instantly share code, notes, and snippets.

@ohnishiakira
Created December 2, 2014 06:55
Show Gist options
  • Save ohnishiakira/2d0bbf56a6326c1548f0 to your computer and use it in GitHub Desktop.
Save ohnishiakira/2d0bbf56a6326c1548f0 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
@hoge = "@fuga"
@fuga = "@hoge"
puts "#@hoge"
puts eval "#@hoge"
puts eval eval "#@hoge"
puts eval eval eval "#@hoge"
# =>
# @fuga
# @hoge
# @fuga
# @hoge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment