au0gia
Last Updated: February 25, 2016
·
707
· sheerun
Photo on 08.01.2013 at 04.15

Check if interpreted ruby script is being required or not

if $0 == __FILE__
  # File is executed directly
else
  # File is required
end