summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/fixtures/dash_s_script.rb
blob: 500eccbb84864f7395eef4fc00eb95d0e9118f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
which = ARGV.shift.to_i

case which
when 0
  p $n
when 1
  puts $n
when 2
  puts $_name
when 3
  puts $___name__test__
end