+ 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?
1 Réponse
0
Ruby is scripting language, its starting point is first line after shebang #!/usr/bin/ruby
c++,java have main method ,so execution starts from main in ruby?