Sha256: 3e8055470be971b5154071d6e04bb9947675774f7a1b0ced8ca766f866a8c7fa
Contents?: true
Size: 583 Bytes
Versions: 5
Compression:
Stored size: 583 Bytes
Contents
# -*- coding: utf-8 -*- # Copyright (C) 2010, 2011, 2012 Rocky Bernstein <rockyb@rubyforge.net> require_relative '../base/subcmd' class Trepan::Subcommand::ShowAbbrev < Trepan::ShowBoolSubcommand unless defined?(HELP) Trepanning::Subcommand.set_name_prefix(__FILE__, self) HELP = "Show whether we allow abbreviated debugger command names" MIN_ABBREV = 'ab'.size end end if __FILE__ == $0 # Demo it. $0 = __FILE__ + 'notagain' # So we don't run this agin require_relative '../../mock' cmd = MockDebugger::sub_setup(Trepan::Subcommand::ShowAbbrev) end
Version data entries
5 entries across 5 versions & 1 rubygems