ARGF.argv â ARGV
Instance Public methods
Returns the ARGV
array, which contains the arguments passed to
your script, one per element.
For example:
1 2 3 | $ ruby argf.rb -v glark.txt ARGF .argv #=> ["-v", "glark.txt"] |
Returns the ARGV
array, which contains the arguments passed to
your script, one per element.
For example:
1 2 3 | $ ruby argf.rb -v glark.txt ARGF .argv #=> ["-v", "glark.txt"] |
Designed by : w10schools
service@w10schools.com
Please login to continue.