Sha256: 3b2120c22fd560bbebf4aa110e3a174dd39c9c93350569deb2dd1756fba87626

Contents?: true

Size: 661 Bytes

Versions: 41

Compression:

Stored size: 661 Bytes

Contents

# frozen_string_literal: false
#   multi.rb -
#   	$Release Version: 0.9.6$
#   	$Revision$
#   	by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#

require_relative "nop"
require_relative "../ext/multi-irb"

# :stopdoc:
module IRB
  module ExtendCommand
    class IrbCommand < Nop
      def execute(*obj)
        IRB.irb(nil, *obj)
      end
    end

    class Jobs < Nop
      def execute
        IRB.JobManager
      end
    end

    class Foreground < Nop
      def execute(key)
        IRB.JobManager.switch(key)
      end
    end

    class Kill < Nop
      def execute(*keys)
        IRB.JobManager.kill(*keys)
      end
    end
  end
end
# :startdoc:

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
irb-1.3.2 lib/irb/cmd/subirb.rb
irb-1.3.1 lib/irb/cmd/subirb.rb
irb-1.3.0 lib/irb/cmd/subirb.rb
irb-1.2.9 lib/irb/cmd/subirb.rb
irb-1.2.8 lib/irb/cmd/subirb.rb
irb-1.2.7 lib/irb/cmd/subirb.rb
irb-1.2.6 lib/irb/cmd/subirb.rb
irb-1.2.5 lib/irb/cmd/subirb.rb
irb-1.2.4 lib/irb/cmd/subirb.rb
irb-1.2.3 lib/irb/cmd/subirb.rb
irb-1.2.2 lib/irb/cmd/subirb.rb
irb-1.2.1 lib/irb/cmd/subirb.rb
irb-1.2.0 lib/irb/cmd/subirb.rb
irb-1.1.1 lib/irb/cmd/subirb.rb
irb-1.1.0 lib/irb/cmd/subirb.rb
irb-1.1.0.pre.4 lib/irb/cmd/subirb.rb
irb-1.1.0.pre.3 lib/irb/cmd/subirb.rb
irb-1.1.0.pre.1 lib/irb/cmd/subirb.rb
irb-1.1.0.pre.2 lib/irb/cmd/subirb.rb
irb-1.0.0 lib/irb/cmd/subirb.rb