diff options
Diffstat (limited to 'sample/opt_s.rb')
-rw-r--r-- | sample/opt_s.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sample/opt_s.rb b/sample/opt_s.rb new file mode 100644 index 0000000000..4981119012 --- /dev/null +++ b/sample/opt_s.rb @@ -0,0 +1,8 @@ +#! ruby -s +if ($xyz) + print("xyz = TRUE\n") +end +if ($zzz) + print("zzz = ", $zzz, "\n") +end +print($ARGV.join(", "), "\n") |