Sha256: b6cb3e352cddb196a796c3028ca0a82dc992bae06ef97210b0db6c9da0609385

Contents?: true

Size: 678 Bytes

Versions: 6772

Compression:

Stored size: 678 Bytes

Contents

# frozen_string_literal: true

require "pry-byebug/helpers/navigation"

module PryByebug
  #
  # Travel down the frame stack
  #
  class DownCommand < Pry::ClassCommand
    include Helpers::Navigation

    match "down"
    group "Byebug"

    description "Move current frame down."

    banner <<-BANNER
      Usage: down [TIMES]

      Move current frame down. By default, moves by 1 frame.

      Examples:
        down   #=> Move down 1 frame.
        down 5 #=> Move down 5 frames.
    BANNER

    def process
      PryByebug.check_file_context(target)

      breakout_navigation :down, times: args.first
    end
  end
end

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

Version data entries

6,772 entries across 6,768 versions & 30 rubygems

Version Path
cybrid_api_organization_ruby-0.123.118 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_bank_ruby-0.123.117 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_id_ruby-0.123.117 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_organization_ruby-0.123.117 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_bank_ruby-0.123.116 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_organization_ruby-0.123.116 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_id_ruby-0.123.116 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_bank_ruby-0.123.115 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_id_ruby-0.123.115 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_organization_ruby-0.123.115 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
ory-client-1.15.17 vendor/bundle/ruby/3.1.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_bank_ruby-0.123.114 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_organization_ruby-0.123.114 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_id_ruby-0.123.114 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_organization_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_bank_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_id_ruby-0.123.113 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_organization_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb
cybrid_api_bank_ruby-0.123.112 vendor/bundle/ruby/3.3.0/gems/pry-byebug-3.10.1/lib/pry-byebug/commands/down.rb