+ 1

in ruby no main method,so how to know the execution starting point?

c++,java have main method ,so execution starts from main in ruby?

30th May 2017, 3:38 PM
Saikumar Neelisetty
Saikumar Neelisetty - avatar
1 Réponse
0
Ruby is scripting language, its starting point is first line after shebang #!/usr/bin/ruby
30th May 2017, 11:55 PM
Muhammad Muntaza
Muhammad Muntaza - avatar