Sha256: e29010ab737a00ad5f093b60b44a9c7c6f15b06056277fb0931c1e56f0b6788c
Contents?: true
Size: 929 Bytes
Versions: 2
Compression:
Stored size: 929 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010 Rocky Bernstein <rockyb@rubyforge.net> require_relative '../base/subsubcmd' require_relative '../base/subsubmgr' class Trepan::SubSubcommand::SetAuto < Trepan::SubSubcommandMgr unless defined?(HELP) HELP = 'Set controls for things with some sort of "automatic" default behavior' NAME = File.basename(__FILE__, '.rb') PREFIX = %w(set auto) 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) name = File.basename(__FILE__, '.rb') cmd_args = ['set', name] set_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trepanning-0.0.6 | processor/command/set_subcmd/auto.rb |
trepanning-0.0.4 | processor/command/set_subcmd/auto.rb |