summaryrefslogtreecommitdiff
path: root/lib/irb/command/catch.rb
blob: 529dcbca5aed09121a3797754cf637d97582bc65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require_relative "debug"

module IRB
  # :stopdoc:

  module Command
    class Catch < DebugCommand
      def execute(arg)
        execute_debug_command(pre_cmds: "catch #{arg}")
      end
    end
  end

  # :startdoc:
end