Sha256: 6aa211f47d39c70270af087bb172f5acda33b2611ea351e4c2fde09daeda6615

Contents?: true

Size: 782 Bytes

Versions: 3

Compression:

Stored size: 782 Bytes

Contents

# -*- coding: utf-8 -*-
# Copyright (C) 2010, 2011 Rocky Bernstein <rockyb@rubyforge.net>
require_relative 'base/submgr'

class Trepan::Command::ReloadCommand < Trepan::SubcommandMgr
  # Silence already initialized constant .. warnings
  old_verbose = $VERBOSE  
  $VERBOSE    = nil
  NAME          = File.basename(__FILE__, '.rb')
  ALIASES       = %w(rel)
  HELP = 'Reload information'
  CATEGORY      = 'data'
  NEED_STACK    = false
  SHORT_HELP    = 'Reload information'
  $VERBOSE      = old_verbose 
  def initialize(proc)
    super
  end

end

if __FILE__ == $0
  require_relative '../mock'
  dbgr, cmd = MockDebugger::setup

  # require 'trepanning'
  # Trepan.debug
  xx = Trepan::Command::ReloadCommand.new(cmd)
  cmd.run([cmd.name])
  cmd.run([cmd.name, 'command'])
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trepanning-0.1.3 processor/command/reload.rb
trepanning-0.1.2 processor/command/reload.rb
trepanning-0.1.1 processor/command/reload.rb