diff options
Diffstat (limited to 'spec/rubyspec/command_line/fixtures/debug.rb')
-rw-r--r-- | spec/rubyspec/command_line/fixtures/debug.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/rubyspec/command_line/fixtures/debug.rb b/spec/rubyspec/command_line/fixtures/debug.rb new file mode 100644 index 0000000000..2d84c5faf6 --- /dev/null +++ b/spec/rubyspec/command_line/fixtures/debug.rb @@ -0,0 +1,10 @@ +which = ARGV.first.to_i + +case which +when 0 + puts "$DEBUG #{$DEBUG}" +when 1 + puts "$VERBOSE #{$VERBOSE}" +when 2 + puts "$-d #{$-d}" +end |