Skip to content

Instantly share code, notes, and snippets.

@pochi
Last active December 10, 2015 21:08
Show Gist options
  • Save pochi/4492516 to your computer and use it in GitHub Desktop.
Save pochi/4492516 to your computer and use it in GitHub Desktop.
at_exitはプログラム終了時に呼ばれる
module Test
at_exit do
puts "program finished"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment