Here is my code
if __FILE__ == $PROGRAM_NAME
puts "tests"
puts $PROGRAM_NAME
return 1
end
I am trying to have a git pre-commit feature with ruby. And this pre-commit needs an integer return.
When I run this piece ruby code I got an error
`<main>': unexpected return (LocalJumpError)