summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/fixtures/debug.rb
blob: 2d84c5faf603717f9cc5b9ef4025147e393450e2 (plain)
1
2
3
4
5
6
7
8
9
10
which = ARGV.first.to_i

case which
when 0
  puts "$DEBUG #{$DEBUG}"
when 1
  puts "$VERBOSE #{$VERBOSE}"
when 2
  puts "$-d #{$-d}"
end