Sha256: 95f78c5ee022a2bdfc69ee3586423659adc795da58bebe02b209180bc224248b

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 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
      Examples:
        continue

      Continue the execution of your program to the end, or stop at the first dynamic break point or `jard` attachment command.
      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

1 entries across 1 versions & 1 rubygems

Version Path
ruby_jard-0.3.1 lib/ruby_jard/commands/continue_command.rb