I am a Java developer, and I was provided with Ruby code for understanding, and then for working.
I went through Ruby tutorials at tutorialspoint.com, but I can't figure out what $_[0] .
It is assigned to a variable in the code, and it is definitely not a command line argument, because I wrote the code to check this, and it failed. So, can anyone tell what its meaning is?
source share