Sha256: cef107ddae7111726cb4e767c0fcaaf8a51ea6125d06bfa697fb83dbfceabd81

Contents?: true

Size: 540 Bytes

Versions: 6488

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

require "pry-byebug/helpers/navigation"

module PryByebug
  #
  # Run until the end of current frame
  #
  class FinishCommand < Pry::ClassCommand
    include PryByebug::Helpers::Navigation

    match "finish"
    group "Byebug"
    description "Execute until current stack frame returns."

    banner <<-BANNER
      Usage: finish
    BANNER

    def process
      PryByebug.check_file_context(target)

      breakout_navigation :finish
    end
  end
end

Pry::Commands.add_command(PryByebug::FinishCommand)

Version data entries

6,488 entries across 6,484 versions & 28 rubygems

Version Path
cybrid_api_organization_ruby-0.122.41 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.41 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_id_ruby-0.122.41 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_id_ruby-0.122.40 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.40 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_organization_ruby-0.122.40 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_organization_ruby-0.122.39 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.39 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_id_ruby-0.122.39 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_organization_ruby-0.122.38 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.38 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_id_ruby-0.122.38 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.36 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_id_ruby-0.122.36 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_organization_ruby-0.122.36 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_organization_ruby-0.122.34 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.34 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_bank_ruby-0.122.33 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_organization_ruby-0.122.33 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb
cybrid_api_id_ruby-0.122.33 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/finish.rb