Sha256: 7abf6bfef15236b307547f2d8c9339cc47a21acf2f20feb08b29c6cf6eb9ab56
Contents?: true
Size: 721 Bytes
Versions: 12
Compression:
Stored size: 721 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net> require_relative '../../base/subsubcmd' class Trepan::SubSubcommand::SetDebugSkip < Trepan::SetBoolSubSubcommand unless defined?(HELP) HELP = 'Set debugging of statement skip logic' MIN_ABBREV = 'sk'.size NAME = File.basename(__FILE__, '.rb') PREFIX = %W(set debug #{NAME}) end end if __FILE__ == $0 # Demo it. require_relative '../../../mock' require_relative '../debug' cmd = MockDebugger::subsub_setup(Trepan::SubSubcommand::SetDebug, Trepan::SubSubcommand::SetDebugSkip) %w(off on 0 1).each { |arg| cmd.run([cmd.name, arg]) } puts '-' * 10 end
Version data entries
12 entries across 12 versions & 1 rubygems