Sha256: 0bee796e205d0acb9d9887ae6aa0a79f3d866607d0051fba1dbbf10875a3222e
Contents?: true
Size: 859 Bytes
Versions: 10
Compression:
Stored size: 859 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net> 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) command.run(cmd_args) end
Version data entries
10 entries across 10 versions & 1 rubygems