Skip to content

Instantly share code, notes, and snippets.

Created December 7, 2012 15:26
Show Gist options
  • Save anonymous/d92fd3349554ac98f21d to your computer and use it in GitHub Desktop.
Save anonymous/d92fd3349554ac98f21d to your computer and use it in GitHub Desktop.
class Foo
def initialize
@a = Tempfile.new('a').path
end
end
a = Foo.new
# the file is there
b = Foo.new
# the file disappeared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment