Skip to content

Instantly share code, notes, and snippets.

~/projects/jruby ➔ cat test.rb
#!/usr/bin/ruby
puts ARGV.inspect
~/projects/jruby ➔ ./test.rb "a" 'b' c
["a", "b", "c"]
(I hope this can help you understand.)