Sha256: 74a389d877bdb9254d96da386a29c42ca2ee6fd141d01fe5e1a9b77feaaccaa2
Contents?: true
Size: 862 Bytes
Versions: 4
Compression:
Stored size: 862 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010, 2011 Rocky Bernstein <rockyb@rubyforge.net> require_relative '../base/subsubcmd' require_relative '../base/subsubmgr' class Trepan::SubSubcommand::SetAuto < Trepan::SubSubcommandMgr unless defined?(HELP) Trepanning::Subcommand.set_name_prefix(__FILE__, self) HELP = 'Set controls for things with some sort of "automatic" default behavior' end end if __FILE__ == $0 require_relative '../../mock' dbgr, cmd = MockDebugger::setup('set') cmds = dbgr.core.processor.commands set_cmd = cmds['set'] command = Trepan::SubSubcommand::SetAuto.new(dbgr.core.processor, set_cmd) cmd_args = ['set', name] set_cmd.instance_variable_set('@last_args', cmd_args) # require_relative '../../../lib/trepanning' # Trepan.debug command.run(cmd_args) end
Version data entries
4 entries across 4 versions & 1 rubygems