summaryrefslogtreecommitdiff
path: root/sample/opt_s.rb
blob: 5402be7482392fceda4e6706cc9caa4d6e3eaca0 (plain)
1
2
3
4
5
6
7
8
9
10
#! ruby -s
if ($xyz)
  print("xyz = TRUE\n")
end
if ($zzz)
  print("zzz = ", $zzz, "\n")
end
if ($ARGV.length > 0)
  print($ARGV.join(", "), "\n")
end