Sha256: a5e5a0cefc4c99b951b74a1e1fb380d8e2ea469f4afcb9d051e96306c82d1855
Contents?: true
Size: 1010 Bytes
Versions: 14
Compression:
Stored size: 1010 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net> require 'rubygems'; require 'require_relative' require_relative '../base/subsubcmd' require_relative '../base/subsubmgr' class Trepan::SubSubcommand::ShowAuto < Trepan::SubSubcommandMgr unless defined?(HELP) Trepanning::Subcommand.set_name_prefix(__FILE__, self) HELP = 'Show settings which some sort of "automatic" default behavior' MIN_ABBREV = 'au'.size end end if __FILE__ == $0 require_relative '../../mock' dbgr = MockDebugger::MockDebugger.new cmds = dbgr.core.processor.commands show_cmd = cmds['show'] # command = Trepan::SubSubcommand::ShowAuto.new(dbgr.core.processor, # show_cmd) # name = File.basename(__FILE__, '.rb') # cmd_args = ['show', name] # show_cmd.instance_variable_set('@last_args', cmd_args) # # require_relative '../../../lib/trepanning' # # Trepan.debug(:set_restart => true) # command.run(cmd_args) end
Version data entries
14 entries across 14 versions & 2 rubygems