Sha256: ecd36eea970656ec0353f1197256f312962fdc0e89e8ab528fef28f5a2a65a9d

Contents?: true

Size: 532 Bytes

Versions: 6

Compression:

Stored size: 532 Bytes

Contents

# Copyright (C) 2011 Rocky Bernstein <rockyb@rubyforge.net>
require 'rubygems'; require 'require_relative'
require_relative 'virtual'
module Trepan
  class CmdProcessor  < VirtualCmdProcessor
    def parse_stepping_args(command_name, match)
      if match[1].nil? 
          different = @settings[:force_stepping]
      elsif match[1] == '+' 
        different = true
      elsif match[1] == '-' 
        different = false
      end
      steps = get_int(match[2], command_name, 1)
      return [steps, different]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rb8-trepanning-0.1.6 processor/stepping.rb
rb8-trepanning-0.1.5 processor/stepping.rb
rb8-trepanning-0.1.4 processor/stepping.rb
rb8-trepanning-0.1.3 processor/stepping.rb
rb8-trepanning-0.1.3-universal-ruby-1.9.2 processor/stepping.rb
rb8-trepanning-0.1.3-universal-ruby-1.8.7 processor/stepping.rb