Sha256: 1ce467d8551753fefc343e631872df76244013a6002f76d713d88a319ab4b9ec

Contents?: true

Size: 267 Bytes

Versions: 9

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

module IRB
  # :stopdoc:

  module Command
    class ForceExit < Base
      category "IRB"
      description "Exit the current process."

      def execute(_arg)
        throw :IRB_EXIT, true
      end
    end
  end

  # :startdoc:
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/irb-1.14.0/lib/irb/command/force_exit.rb
irb-1.14.3 lib/irb/command/force_exit.rb
irb-1.14.2 lib/irb/command/force_exit.rb
irb-1.14.1 lib/irb/command/force_exit.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/irb-1.13.2/lib/irb/command/force_exit.rb
irb-1.14.0 lib/irb/command/force_exit.rb
irb-1.13.2 lib/irb/command/force_exit.rb
irb-1.13.1 lib/irb/command/force_exit.rb
irb-1.13.0 lib/irb/command/force_exit.rb