Sha256: 93030a3d856a88a8cb92c5ce1601981ec32501f67ee25d489205ea90322471b1

Contents?: true

Size: 702 Bytes

Versions: 15

Compression:

Stored size: 702 Bytes

Contents

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

class Trepan::Subcommand::ShowDifferent < Trepan::ShowBoolSubcommand
  unless defined?(HELP)
    Trepanning::Subcommand.set_name_prefix(__FILE__, self)
    HELP         = "Show status of 'set different'"
    MIN_ABBREV   = 'dif'.size
  end

  def run(args)
    if 'nostack' == @proc.settings[:different]
      msg "%s is nostack." % HELP[5..-1].capitalize
    else
      super
    end
  end
end

if __FILE__ == $0
  # Demo it.
  require_relative '../../mock'
  cmd = MockDebugger::sub_setup(Trepan::Subcommand::ShowDifferent)
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
rbx-trepanning-0.2.1-universal-rubinius-2.0 processor/command/show_subcmd/different.rb
rbx-trepanning-0.2.1-universal-rubinius-1.2 processor/command/show_subcmd/different.rb
rbx-trepanning-0.2.0-universal-rubinius-2.0 processor/command/show_subcmd/different.rb
rb8-trepanning-0.1.6 processor/command/show_subcmd/different.rb
rb8-trepanning-0.1.5 processor/command/show_subcmd/different.rb
rbx-trepanning-0.1.0-universal-rubinius-1.2 processor/command/show_subcmd/different.rb
rb8-trepanning-0.1.4 processor/command/show_subcmd/different.rb
rb8-trepanning-0.1.3 processor/command/show_subcmd/different.rb
rb8-trepanning-0.1.3-universal-ruby-1.9.2 processor/command/show_subcmd/different.rb
rb8-trepanning-0.1.3-universal-ruby-1.8.7 processor/command/show_subcmd/different.rb
rbx-trepanning-0.0.8-universal-rubinius-1.2 processor/command/show_subcmd/different.rb
rbx-trepanning-0.0.7-universal-rubinius-1.2 processor/command/show_subcmd/different.rb
rbx-trepanning-0.0.6-universal-rubinius-1.2 processor/command/show_subcmd/different.rb
rbx-trepanning-0.0.5-universal-rubinius-1.2.1 processor/command/show_subcmd/different.rb
rbx-trepanning-0.0.4-universal-rubinius-1.2 processor/command/show_subcmd/different.rb