Sha256: 3605e00cfc5c555fb68cfec5e2fac4efb8b87307c6ae85d6848debe542ee1639
Contents?: true
Size: 700 Bytes
Versions: 1
Compression:
Stored size: 700 Bytes
Contents
# frozen_string_literal: true module RubyJard module Commands # Command used to finish up the current frame. # Data attached in the throw: # * command: constant symbol (:finish) # * pry: current context pry instance class FinishCommand < Pry::ClassCommand group 'RubyJard' description 'Finish the execution of the current frame.' match 'finish' banner <<-BANNER Usage: finish Finish the execution of the current frame. Examples: finish BANNER def process throw :control_flow, command: :finish, pry: pry_instance end end end end Pry::Commands.add_command(RubyJard::Commands::FinishCommand)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_jard-0.1.0 | lib/ruby_jard/commands/finish_command.rb |