Does ruby have an entry point like Java & C have main?
For instance if i had the following code…
puts “Calling method”
do something here…
This will fail because the definition for method is after the call for
This wouldnt matter in Java or C with it being pre-compiled i guess.
So with this in mind i am wondering how best to organise my code.
Is there a default method i can override which will always be called