Sha256: af13e2384b0e397b2406d2e69f1db7c0418b352fbbfa467c38f0b7747a252714

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

# frozen_string_literal: true

module RubyJard
  module Commands
    # Command used to continue program execution.
    class ContinueCommand < Pry::ClassCommand
      group 'RubyJard'
      description 'Continue program execution.'

      match 'continue'

      banner <<-BANNER
      Usage: continue

      Continue program execution. The program will stop at the next breakpoint, or run until it finishes.

      Examples:
        continue
      BANNER

      def process
        RubyJard::ControlFlow.dispatch(:continue)
      end
    end
  end
end

Pry::Commands.add_command(RubyJard::Commands::ContinueCommand)
Pry::Commands.alias_command 'c', 'continue'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_jard-0.2.2 lib/ruby_jard/commands/continue_command.rb
ruby_jard-0.2.1 lib/ruby_jard/commands/continue_command.rb