Skip to content

Instantly share code, notes, and snippets.

@dmolesUC
Created January 27, 2016 01:02
Show Gist options
  • Save dmolesUC/40f360c4bcd961728f7c to your computer and use it in GitHub Desktop.
Save dmolesUC/40f360c4bcd961728f7c to your computer and use it in GitHub Desktop.
msg = "required #{__FILE__}, #{caller[0]}"
File.open('/tmp/require.log', 'a') { |f| f.puts(msg) }
puts msg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment